Part Number Hot Search : 
C2400 AD632AD E100A S30NW6C HT46R652 NTE25 TM1623 BT168
Product Description
Full Text Search
 

To Download ID78K0-NS Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  user?s manual target devices 78k/0 series 78k/0s series 78k/iv series id78k series integrated debugger ver. 2.30 or later operation (windows? based) 1997 ? printed in japan document no. u15185ej1v0um00 (1st edition) date published may 2001 n cp(k) 2001
user?s manual u15185ej1v0um 2 [memo]
user?s manual u15185ej1v0um 3 pentium is a trademark of intel corporation. windows, windows nt, and ms-dos are either registered trademarks or trademarks of microsoft corporation in the united states and/or other countries. pc/at is a trademark of international business machines corporation.
user?s manual u15185ej1v0um 4 m8e 00. 4 the information in this document is current as of february, 2001. the information is subject to change without notice. for actual design-in, refer to the latest publications of nec's data sheets or data books, etc., for the most up-to-date specifications of nec semiconductor products. not all products and/or types are available in every country. please check with an nec sales representative for availability and additional information. no part of this document may be copied or reproduced in any form or by any means without prior written consent of nec. nec assumes no responsibility for any errors that may appear in this document. nec does not assume any liability for infringement of patents, copyrights or other intellectual property rights of third parties by or arising from the use of nec semiconductor products listed in this document or any other liability arising from the use of such products. no license, express, implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of nec or others. descriptions of circuits, software and other related information in this document are provided for illustrative purposes in semiconductor product operation and application examples. the incorporation of these circuits, software and information in the design of customer's equipment shall be done under the full responsibility of customer. nec assumes no responsibility for any losses incurred by customers or third parties arising from the use of these circuits, software and information. while nec endeavours to enhance the quality, reliability and safety of nec semiconductor products, customers agree and acknowledge that the possibility of defects thereof cannot be eliminated entirely. to minimize risks of damage to property or injury (including death) to persons arising from defects in nec semiconductor products, customers must incorporate sufficient safety measures in their design, such as redundancy, fire-containment, and anti-failure features. nec semiconductor products are classified into the following three quality grades: "standard", "special" and "specific". the "specific" quality grade applies only to semiconductor products developed based on a customer-designated "quality assurance program" for a specific application. the recommended applications of a semiconductor product depend on its quality grade, as indicated below. customers must check the quality grade of each semiconductor product before using it in a particular application. "standard": computers, office equipment, communications equipment, test and measurement equipment, audio and visual equipment, home electronic appliances, machine tools, personal electronic equipment and industrial robots "special": transportation equipment (automobiles, trains, ships, etc.), traffic control systems, anti-disaster systems, anti-crime systems, safety equipment and medical equipment (not specifically designed for life support) "specific": aircraft, aerospace equipment, submersible repeaters, nuclear reactor control systems, life support systems and medical equipment for life support, etc. the quality grade of nec semiconductor products is "standard" unless otherwise expressly specified in nec's data sheets or data books, etc. if customers wish to use nec semiconductor products in applications not intended by nec, they must contact an nec sales representative in advance to determine nec's willingness to support a given application. (note) (1) "nec" as used in this statement means nec corporation and also includes its majority-owned subsidiaries. (2) "nec semiconductor products" means any semiconductor product developed or manufactured by or for nec (as defined above). ? ? ? ? ? ?
user ? s manual u15185ej1v0um 5 regional information some information contained in this document may vary from country to country. before using any nec product in your application, piease contact the nec office in your country to obtain a list of authorized representatives and distributors. they will verify: ? device availability ? ordering information ? product release schedule ? availability of related technical literature ? development environment specifications (for example, specifications for third-party tools and components, host computers, power plugs, ac supply voltages, and so forth) ? network requirements in addition, trademarks, registered trademarks, export restrictions, and other legal issues may also vary from country to country. nec electronics inc. (u.s.) santa clara, california tel: 408-588-6000 800-366-9782 fax: 408-588-6130 800-729-9288 nec electronics (germany) gmbh duesseldorf, germany tel: 0211-65 03 02 fax: 0211-65 03 490 nec electronics (uk) ltd. milton keynes, uk tel: 01908-691-133 fax: 01908-670-290 nec electronics italiana s.r.l. milano, italy tel: 02-66 75 41 fax: 02-66 75 42 99 nec electronics (germany) gmbh benelux office eindhoven, the netherlands tel: 040-2445845 fax: 040-2444580 nec electronics (france) s.a. velizy-villacoublay, france tel: 01-3067-5800 fax: 01-3067-5899 nec electronics (france) s.a. madrid office madrid, spain tel: 091-504-2787 fax: 091-504-2860 nec electronics (germany) gmbh scandinavia office taeby, sweden tel: 08-63 80 820 fax: 08-63 80 388 nec electronics hong kong ltd. hong kong tel: 2886-9318 fax: 2886-9022/9044 nec electronics hong kong ltd. seoul branch seoul, korea tel: 02-528-0303 fax: 02-528-4411 nec electronics singapore pte. ltd. novena square, singapore tel: 253-8311 fax: 250-3583 nec electronics taiwan ltd. taipei, taiwan tel: 02-2719-2377 fax: 02-2719-5951 nec do brasil s.a. electron devices division guarulhos-sp, brasil tel: 11-6462-6810 fax: 11-6462-6829 j01.2
user?s manual u15185ej1v0um 6 introduction readers this manual is intended for user engineers who design and develop application systems of the 78k/0 series, 78k/0s series, and 78k/iv series. purpose this manual is intended to give users an understanding of the functions of the id78k series shown in the organization below. organization this manual consists of the following chapters: ? general ? installation ? starting and exiting ? functions of id78k series ? association with project manager ? window reference how to read this manual it is assumed that the readers of this manual have general knowledge of electrical engineering, logic circuits, microcontrollers, c language, and assemblers. for users who are using this manual for products other than ID78K0-NS in chapters 2 and 3, the ID78K0-NS is treated as the representative product. in the other chapters, the ID78K0-NS is also treated as the representative product unless there are differences in function. as required, take the ID78K0-NS as other products in the id78k series. product description ID78K0-NS ID78K0-NS id78k0 (-ns) id78k0 and ID78K0-NS to understand the hardware functions of the 78k/0 series, 78k/0s series, and 78k/iv series. refer to the hardware user?s manual for each product. to understand the instruction functions of the 78k/0 series refer to the 78k/0 series user?s manual instructions . to understand the instruction functions of the 78k/0s series refer to the 78k/0s series user?s manual instructions . to understand the instruction functions of the 78k/iv series refer to the 78k/iv series user?s manual instructions .
user?s manual u15185ej1v0um 7 conventions data significance: higher digits on the left and lower digits on the right note : footnote for item marked with note in the text caution : information requiring paticular attention remark : supplementary information numerical representation: binary or b decimal hexadecimal h prefixes indicating power of 2 (address space, memory capacity): k (kilo): 2 10 = 1,024 m (mega): 2 20 = 1,024 2 key descriptions: the key descriptions in this manual are explained in terms of the pc-9821 series keyboard. when using a keyboard whose key descriptions differ from the above, use the keys in accordance with the descriptions in appendix d key function list . related documents the documents related to this manual are listed below. the related documents indicated in this publication may include preliminary versions. however, preliminary versions are not marked as such. documents related to development tools (user?s manuals) (78k/0 series) document name document no. ie-78k0-ns u13731e ie-78k0-ns-a u14889e ie-78k0-ns-pa to be prepared operation to be prepared cc78k0 c compiler language to be prepared operation to be prepared language to be prepared ra78k0 assembler package structured assembly language u11789e sm78k0s, sm78k0 system simulator ver. 2.10 or later windows based operation u14611e sm78k series system simulator ver. 2.10 or later external part user open interface specifications u15006e id78k series integrated debugger ver. 2.30 or later windows based operation this manual fundamentals u11537e 78k/0 series real-time os installation u11536e 78k/0 series os mx78k0 fundamental u12257e
user?s manual u15185ej1v0um 8 documents related to development tools (user?s manuals) (78k/0s series) document name document no. ie-78k0s-ns u13549e ie-78k0s-ns-a to be prepared operation u11816e cc78k0s c compiler language u11817e operation u11622e language u11599e ra78k0s assembler package structured assembly language u11623e sm78k0s, sm78k0 system simulator ver. 2.10 or later windows based operation u14611e sm78k series system simulator ver. 2.10 or later external part user open interface specifications u15006e id78k series integrated debugger ver. 2.30 or later windows based operation this manual 78k/0s series os mx78k0s fundamental u12938e documents related to development tools (user?s manuals) (78k/iv series) document name document no. ie-78k4-ns u13356e operation u11572e cc78k4 c compiler language u11571e operation u11334e language u11162e ra78k4 assembler package structured assembler preprocessor u11743e sm78k4 system simulator windows based reference u10093e sm78k series system simulator ver. 1.40 or later external part user open interface specifications u10092e id78k series integrated debugger ver. 2.30 or later windows based operation this manual fundamentals u10603e installation u10604e 78k/iv series real-time os debugger ? 78k/iv series os mx78k4 fundamentals u11779e
user?s manual u15185ej1v0um 9 contents chapter 1 general .......................................................................................................... ................ 17 1.1 overview.................................................................................................................... .................. 17 1.2 features.................................................................................................................... ................... 17 1.3 system configuration ........................................................................................................ ........ 18 1.4 operating environment ....................................................................................................... ...... 19 1.4.1 hardware environment ...................................................................................................... .............19 1.4.2 software environment...................................................................................................... ...............20 1.5 note for debugging at source level ........................................................................................ 20 chapter 2 installation ..................................................................................................... ............ 21 2.1 device driver............................................................................................................... ................ 21 2.2 device file................................................................................................................. .................. 21 2.3 installation of ID78K0-NS................................................................................................... ........ 22 2.3.1 precautions for installation .............................................................................................. ...............22 2.3.2 installation procedure .................................................................................................... .................23 2.4 uninstalling ID78K0-NS ...................................................................................................... ....... 31 chapter 3 starting and exiting........................................................................................... .... 34 3.1 starting .................................................................................................................... .................... 34 3.2 exiting..................................................................................................................... ..................... 36 chapter 4 functions of id78k series.................................................................................... 3 7 4.1 mapping function............................................................................................................ ........... 37 4.1.1 mapping function of ID78K0-NS (-ns) and id78k4 (-ns) ..............................................................37 4.1.2 mapping functions of id78k0s-ns ........................................................................................... ......38 4.2 emulation execution functions............................................................................................... .38 4.2.1 real-time execution function .............................................................................................. ............38 4.2.2 non real-time execution function .......................................................................................... ..........39 4.3 event function.............................................................................................................. .............. 40 4.3.1 using event function ...................................................................................................... .................40 4.3.2 event conditions .......................................................................................................... ...................41 4.4 break functions ............................................................................................................. ............ 45 4.5 trace function.............................................................................................................. .............. 47 4.5.1 operation of trace........................................................................................................ ...................47 4.5.2 trace condition setting function.......................................................................................... ............48 4.5.3 trace result display function............................................................................................. ..............49 4.6 coverage measurement function (other than id78k4-ns) ................................................... 50 4.7 snapshot function (other than id78k4-ns)............................................................................ 50 4.8 load/save functions ......................................................................................................... ........ 51 4.8.1 display files ............................................................................................................. .......................51 4.8.2 information files ......................................................................................................... .....................52 4.9 register manipulation functions............................................................................................. .53 4.10 memory manipulation functions .............................................................................................. 53
user?s manual u15185ej1v0um 10 4.11 time measurement function .................................................................................................. ...53 4.12 real-time ram sampling function..........................................................................................53 chapter 5 association with project manager................................................................54 5.1 debugger registration in pm project .......................................................................................54 5.1.1 debugger selection........................................................................................................ ................ 54 5.2 starting up id78k series from pm............................................................................................ 55 5.2.1 reproducing debug environment............................................................................................. ...... 55 5.3 correction and auto load of source file ................................................................................56 chapter 6 window reference................................................................................................ ....57 6.1 window list................................................................................................................. ................57 6.2 explanation of windows ...................................................................................................... ......59 main window.................................................................................................................... .......................... 60 configuration dialog box ....................................................................................................... .................... 86 bank set dialog box (id78k0 (-ns) only)........................................................................................ .......... 92 mask option dialog box (id78k0 (-ns), id78k0s-ns) ............................................................................. 9 5 extended option dialog box ..................................................................................................... ................. 97 debugger option dialog box ..................................................................................................... .............. 103 font dialog box................................................................................................................ ........................ 111 project file load dialog box ................................................................................................... ................. 114 project file save dialog box................................................................................................... ................. 117 view file load dialog box ...................................................................................................... ................. 121 view file save dialog box ...................................................................................................... ................. 124 download dialog box............................................................................................................ ................... 130 upload dialog box .............................................................................................................. ..................... 134 browse dialog box.............................................................................................................. ..................... 137 source move dialog box......................................................................................................... ................. 139 address move dialog box........................................................................................................ ................ 142 trace move dialog box.......................................................................................................... .................. 145 symbol to address dialog box................................................................................................... ............. 148 source window .................................................................................................................. ...................... 151 source search dialog box ....................................................................................................... ................ 164 assemble window................................................................................................................ .................... 167 assemble search dialog box..................................................................................................... .............. 178 memory window .................................................................................................................. .................... 181 memory search dialog box ....................................................................................................... .............. 186 memory fill dialog box ......................................................................................................... ................... 189 memory copy dialog box ......................................................................................................... ............... 191 memory compare dialog box ...................................................................................................... ............ 193 memory compare result dialog box ............................................................................................... ........ 195 pseudo dmm dialog box .......................................................................................................... ................ 197 watch window ................................................................................................................... ...................... 199 quick watch dialog box ......................................................................................................... ................. 204 add watch dialog box ........................................................................................................... .................. 208 change watch dialog box ........................................................................................................ ................ 211 register window ................................................................................................................ ...................... 214
user?s manual u15185ej1v0um 11 sfr window..................................................................................................................... ........................218 sfr select dialog box .......................................................................................................... ...................222 add i/o port dialog box........................................................................................................ ....................225 local variable window .......................................................................................................... ...................228 stack window ................................................................................................................... ........................231 trace view window .............................................................................................................. ....................236 trace search dialog box ........................................................................................................ ..................246 trace data select dialog box................................................................................................... ................254 coverage window (this is valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns-a or ie-78k0s-ns-a is used, or when the ie-784000-r is used.) ............258 coverage search dialog box (this is valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns-a or ie-78k0s-ns-a is used, or when the ie-784000-r is used.) ............263 coverage-clear dialog box (this is valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns-a or ie-78k0s-ns-a is used, or when the ie-784000-r is used.) ............266 coverage-condition setting dialog box (this is valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns-a or ie-78k0s-ns-a is used, or when the ie-784000-r is used.) .............................................................................................. .268 coverage-efficiency view dialog box (this is valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns-a or ie-78k0s-ns-a is used, or when the ie-784000-r is used.) .............................................................................................. .271 event manager .................................................................................................................. .......................274 software break manager (this is valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns-a or ie-78k0s-ns-a is used, or when the ie-78k4-ns or ie-784000-r is used.) ....................................................................................................... .......284 event dialog box ............................................................................................................... .......................287 event link dialog box.......................................................................................................... .....................303 break dialog box ............................................................................................................... .......................313 trace dialog box ............................................................................................................... .......................320 snap shot dialog box (not supported in the id78k4-ns) ........................................................................33 1 stub dialog box (supported only in the id78k4) ................................................................................. ......346 timer dialog box ............................................................................................................... .......................354 timer result dialog box ........................................................................................................ ...................365 dmm dialog box (not supported in the id78k4 (-ns)) ............................................................................. 368 pass count dialog box (not supported in the id78k4 (-ns)) ...................................................................374 delay count dialog box......................................................................................................... ...................376 reset debugger dialog box ...................................................................................................... ...............378 about dialog box ............................................................................................................... .......................380 exit debugger dialog box....................................................................................................... ..................381 error/warning dialog box ....................................................................................................... ..................383 console window................................................................................................................. ......................384 appendix a debugging with id78k series........................................................................... 419 appendix b terminology ..................................................................................................... ........ 423 b.1 terminology ................................................................................................................. ............. 423 b.2 window types and configuration .......................................................................................... 432 b.2.1 windows................................................................................................................... ....................432
user?s manual u15185ej1v0um 12 b.2.2 dialog boxes .............................................................................................................. .................. 432 appendix c error message list ............................................................................................ .433 appendix d key function list ............................................................................................. .....455 d.1 special function key function list........................................................................................45 5 d.2 function key function list .................................................................................................. ...456 d.3 special function key function list ( shift + key)...........................................................457 d.4 function key function list ( shift + key) ........................................................................457 d.5 special function key function list ( ctrl + key) ...........................................................458 d.6 function key function list ( ctrl + key) .........................................................................458 d.7 control key function list ( ctrl + key) ...........................................................................459 d.8 special function key function list ( ctrl + shift key)............................................460 appendix e index ........................................................................................................... ..................461
user?s manual u15185ej1v0um 13 list of figures (1/3) figure no. title page 1-1 id78kx-ns series system configuration example ............................................................................... ........ 18 3-1 ID78K0-NS icon.............................................................................................................. ............................... 34 3-2 configuration dialog box on starting........................................................................................ ..................... 34 3-3 main window ................................................................................................................. ................................ 35 3-4 comctl32.dll 4.72 installer ................................................................................................. ............................. 35 3-5 exit debugger dialog box .................................................................................................... ......................... 36 5-1 select debugger type dialog box (pm)........................................................................................ ................ 54 6-1 main window ................................................................................................................. ................................ 60 6-2 toolbar ..................................................................................................................... ..................................... 61 6-3 example of tool hint ........................................................................................................ ............................. 63 6-4 status bar.................................................................................................................. .................................... 64 6-5 file menu bar ............................................................................................................... ................................. 67 6-6 edit menu bar............................................................................................................... ................................. 68 6-7 view menu bar ............................................................................................................... ............................... 70 6-8 option menu bar ............................................................................................................. .............................. 76 6-9 run menu bar ................................................................................................................ ............................... 78 6-10 event menu bar............................................................................................................. ................................ 80 6-11 browse menu bar ............................................................................................................ .............................. 82 6-12 jump menu bar .............................................................................................................. ............................... 83 6-13 window menu bar ............................................................................................................ ............................. 84 6-14 help menu bar.............................................................................................................. ................................. 85 6-15 configuration dialog box................................................................................................... ............................ 86 6-16 bank set dialog box........................................................................................................ .............................. 92 6-17 mask option dialog box ..................................................................................................... ........................... 95 6-18 extended option dialog box................................................................................................. ......................... 97 6-19 debugger option dialog box ................................................................................................. ...................... 103 6-20 font dialog box ............................................................................................................ ............................... 111 6-21 project file load dialog box ............................................................................................... ........................ 114 6-22 project file save dialog box ............................................................................................... ........................ 118 6-23 view file load dialog box.................................................................................................. ......................... 121 6-24 view file save dialog box.................................................................................................. ......................... 124 6-25 download dialog box ........................................................................................................ .......................... 131 6-26 upload dialog box.......................................................................................................... ............................. 134 6-27 browse dialog box .......................................................................................................... ............................ 137 6-28 source move dialog box ..................................................................................................... ........................ 139 6-29 address move dialog box .................................................................................................... ....................... 143 6-30 trace move dialog box ...................................................................................................... ......................... 145 6-31 symbol to address dialog box ............................................................................................... .................... 148 6-32 source window .............................................................................................................. ............................. 151
user?s manual u15185ej1v0um 14 list of figures (2/3) figure no. title page 6-33 source search dialog box................................................................................................... ........................164 6-34 assemble window ............................................................................................................ ...........................167 6-35 assemble search dialog box ................................................................................................. .....................178 6-36 memory window .............................................................................................................. ............................182 6-37 memory search dialog box ................................................................................................... ......................186 6-38 memory fill dialog box ..................................................................................................... ...........................189 6-39 memory copy dialog box ..................................................................................................... .......................191 6-40 memory compare dialog box.................................................................................................. ....................193 6-41 memory compare result dialog box........................................................................................... ................195 6-42 pseudo dmm dialog box...................................................................................................... .......................197 6-43 watch window............................................................................................................... ..............................200 6-44 quick watch dialog box ..................................................................................................... .........................204 6-45 add watch dialog box ....................................................................................................... ..........................208 6-46 change watch dialog box.................................................................................................... .......................211 6-47 register window............................................................................................................ ..............................214 6-48 sfr window................................................................................................................. ...............................218 6-49 sfr select dialog box ...................................................................................................... ..........................222 6-50 add i/o port dialog box.................................................................................................... ...........................225 6-51 local variable window ...................................................................................................... ..........................228 6-52 stack window ............................................................................................................... ...............................231 6-53 trace view window .......................................................................................................... ...........................236 6-54 trace search dialog box .................................................................................................... .........................246 6-55 trace data select dialog box............................................................................................... .......................254 6-56 coverage window ............................................................................................................ ...........................258 6-57 coverage search dialog box................................................................................................. ......................263 6-58 coverage-clear dialog box .................................................................................................. .......................266 6-59 coverage-condition setting dialog box...................................................................................... .................268 6-60 coverage-efficiency view dialog box........................................................................................ ..................271 6-61 event manager .............................................................................................................. ..............................275 6-62 software break manager ..................................................................................................... ........................284 6-63 event dialog box ........................................................................................................... ..............................288 6-64 event link dialog box...................................................................................................... ............................304 6-65 break dialog box ........................................................................................................... ..............................314 6-66 trace dialog box ........................................................................................................... ..............................321 6-67 snap shot dialog box....................................................................................................... ...........................332 6-68 stub dialog box ............................................................................................................ ...............................347 6-69 timer dialog box ........................................................................................................... ..............................355 6-70 timer result dialog box .................................................................................................... ..........................365 6-71 dmm dialog box............................................................................................................. .............................368 6-72 pass count dialog box ...................................................................................................... ..........................374 6-73 delay count dialog box..................................................................................................... ..........................376 6-74 reset debugger dialog box .................................................................................................. ......................378
user?s manual u15185ej1v0um 15 list of figures (3/3) figure no. title page 6-75 about dialog box........................................................................................................... .............................. 380 6-76 exit debugger dialog box ................................................................................................... ........................ 381 6-77 error/warning dialog box ................................................................................................... ......................... 383 6-78 console window............................................................................................................. ............................. 384 c-1 display format of error message ............................................................................................. ................... 433
user?s manual u15185ej1v0um 16 list of tables table no. title page 4-1 relationship between event conditions and setting dialog box................................................................ ...40 4-2 each condition that can be set in event dialog box .......................................................................... .........42 4-3 event condition types....................................................................................................... ............................43 4-4 trace data display contents ................................................................................................. ........................49 4-5 display files handled by id78k series ....................................................................................... ..................51 4-6 information files handled by id78k series ................................................................................... ................52 6-1 windows of id78k series debugger ............................................................................................ .................57 6-2 ie status display contents .................................................................................................. ..........................65 6-3 cpu status display contents ................................................................................................. .......................65 6-4 display contents of break cause ............................................................................................. .....................65 6-5 step modes.................................................................................................................. ................................66 6-6 key input modes............................................................................................................. ...............................66 6-7 command specifications ...................................................................................................... .......................385 b-1 delimiter symbols ........................................................................................................... .............................424 b-2 register set of 78k series.................................................................................................. .........................426 c-1 error message type .......................................................................................................... ..........................433 c-2 error message list.......................................................................................................... .............................434 d-1 special function key function list.......................................................................................... ....................455 d-2 function key function list.................................................................................................. .........................456 d-3 special function key function list ( shift + key)..................................................................................457 d-4 function key function list ( shift + key) ..............................................................................................457 d-5 special function key function list ( ctrl + key)...................................................................................458 d-6 function key function list ( ctrl + key) ...............................................................................................458 d-7 control key function list ( ctrl + key) .................................................................................................459 d-8 special function key function list ( ctrl + shift key) ...................................................................460
user?s manual u15185ej1v0um 17 chapter 1 general 1.1 overview the integrated debuggers for the 78k series (id78k0s-ns/ID78K0-NS/id78k0/id78k4-ns/id78k4) are software tools designed to efficiently debug user programs developed for nec?s 78k/0, 78k/0s, and 78k/iv series of 8-/16-bit microcontrollers for embedded control applications. this id78k series features an easy-to-understand gui (graphical user interface) on a host machine using windows as the operating system. moreover, the commands that are frequently used are displayed as buttons that can be activated using the mouse, providing an environment with excellent operability. 1.2 features the features of the id78k series are as follows. (1) gui function the id78k0 series runs in a windows environment and their debugging operations can be controlled with a mouse. buttons and menus are displayed in each window, and other related information can be selected from the displayed information. (2) debugging at source level referencing/setting variables and structures, displaying programs, and setting breakpoints can be efficiently performed at source text level by manipulating function names and line numbers. (3) debugging at instruction level referencing/setting symbols and register values, displaying programs, and setting breakpoints can be efficiently performed at instruction level by manipulating labels and addresses. (4) use of in-circuit emulator breakpoints can be set and user programs can be traced by using the detailed event setting functions of an in- circuit emulator. (5) monitor function (automatic display updating function while execution is stopped) when execution of the user program is stopped, the values displayed in the window are automatically updated. (6) saving/restoring debugging environment the debugging environment can be saved in a file. the saved environment can be restored, and debugging can be resumed from where the debugging environment was saved. (7) function expansion by tip (tool interface protocol) by linking up with a task debugger (rd) note , system performance analyzer (az) note , etc., it is possible to vastly improve the debugging efficiency of applications that use a real-time os (rx). note supported only in the id78k4 (-ns)
chapter 1 general user?s manual u15185ej1v0um 18 1.3 system configuration the id78k series offers a comfortable debugging environment for user programs and target boards developed for the 78k/0, 78k/0s, and 78k/iv series by connecting the host machine and the in-circuit emulator via a dedicated parallel interface board. figure 1-1 shows an example of the system configuration of the id78kx-ns series. figure 1-1. id78kx-ns series system configuration example device file host machine interface board in-circuit emulator target system id78kx-ns device driver
chapter 1 general user?s manual u15185ej1v0um 19 1.4 operating environment to use the id78k series, the following hardware and software environments are necessary. 1.4.1 hardware environment (1) host machine  pc-9821 series  pc98-nx series  ibm pc/at tm or compatibles cpu: pentium tm 100 mhz or more (120 mhz or more is recommended) memory: ram: 32 mb or more (64 mb or more is recommended) (2) in-circuit emulator ? for id78k0 ? for ID78K0-NS  ie-78001-r-a  ie-78k0-ns  ie-78k0-ns-a ? for id78k0s-ns  ie-78k0s-ns  ie-78k0s-ns-a ? for id78k4 ? for id78k4-ns  ie-784000-r  ie-78k4-ns (3) in-circuit emulator optional board ? for id78k0 ? for ID78K0-NS ? ie-780xxx-ns-emx <1> emulation board ? ie-78k0-r-exx ? ie-780xxx-ns-em1 ? ie-780xxx-r-em ? ie-780xxx-ns-em4 ? ie-78k0-ns-p0x ? ie-78k0-ns-p0x <2> performance board (78k/0 series only) ? ie-78k0-ns-pa ? for id78k0s-ns ? ie-789xxx-ns-em1 ? for id78k4 ? for id78k4-ns ? ie-784000-r-em ? ie-784xxx-ns-em1 ? ie-784xxx-ns-em1 ? ie-784xxx-r-em1 ? ie-78k4-r-exx caution these optional boards are used in combination with the in-circuit emulator. (4) interface board ? ie-70000-98-if-c (pc-9821 series) ? ie-70000-pc-if-c (ibm pc/at or compatibles) ? ie-70000-cd-if-a ? ie-70000-pci-if-a
chapter 1 general user?s manual u15185ej1v0um 20 1.4.2 software environment (1) os windows 95, windows 98, windows me, windows 2000, windows nt tm 4.0 (service pack 3) (2) device file device file of target file to be used (3) device driver device driver for interface board (included with this product) 1.5 note for debugging at source level when debugging at the source level, add an option (-g option) that creates debugging information after the source files have been compiled. if this is not done, debugging cannot be performed at the source level.
user?s manual u15185ej1v0um 21 chapter 2 installation note that in this chapter, the ID78K0-NS is treated as the representative product. if you are using another product, take the ID78K0-NS as the other product. prior to using the ID78K0-NS, it is necessary to install the ID78K0-NS, a device file, and a device driver. this chapter explains how to install/uninstall the ID78K0-NS. 2.1 device driver install the device driver according to the ?readme_e.txt note ? in the 3.5-inch floppy disk ?nec ie-pc driver v1.0? or cd-rom directory ?driver?. note when using windows 98, windows me, or windows 2000, follow the same procedure as when using windows 95. 2.2 device file to install the device file, use the ?device file installer? included with this product. use of this dedicated installer enables installation of the device file in the win32 environment. since the installer ?setup.exe? in the device file product disk is for the win16 environment, it registers the device file information ?necdev.ini?. however, because this product supports the win32 environment, the device file information must be registered in the registry. it is therefore essential to use the ?device file installer?. an outline of the installation procedure is described below. <1> start up the ?device file installer?. when newly installing the device file, click the install button on the display following startup and specify the installation information file ?necsetup.ini? from the device file product disk. <2> if the device file is registered in ?necdev.ini? and needs to be moved to the win32 environment, specify ?necdev.ini? from the dfinst ?source selection?. following the specification, select the type displayed in the ?source? list and click the move button. (note that the fpga data file (g0xxx.78k) will not be moved automatically and therefore should be copied manually.) <3> to uninstall the device file, select the type displayed in the dfinst ?registry? list, select ?delete files?, and click the uninstall button.
chapter 2 installation user?s manual u15185ej1v0um 22 2.3 installation of ID78K0-NS 2.3.1 precautions for installation <1> prior to installation, create a backup of the system disks. the computer may need to be restarted after installation, so exit all other applications currently being used. <2> do not install the ID78K0-NS in a directory in which a version of the ID78K0-NS earlier than v2.xx is installed. since products of an earlier version than v2.xx support win16, addition of an ID78K0-NS supporting win32 in the same directory may cause the device to malfunction. <3> if reinstalling the ID78K0-NS, be sure to uninstall it first. if the ID78K0-NS has not been uninstalled and is reinstalled in a directory that is different to the one the ID78K0-NS was originally installed in, uninstallation of the originally installed ID78K0-NS may become impossible. <4> do not install the ID78K0-NS in a directory with blank spaces. related tools, such as the project manager, that are to be installed in the same directory as the ID78K0-NS may not operate correctly, depending on their version. <5> the file below created following installation is the file used for uninstallation, and therefore should not be deleted (it is assumed that the installation destination is c:\nectools32). c:\nectools32\setup\*.* <6> ?comctl32.dll4.72 installation? (40comupd.exe) is registered in the program folder in which the ID78K0-NS is installed. this file is used to update the comctl32.dll file used in the ID78K0-NS. if an application error occurs while in use or problems such as a dialog box not displaying data correctly are experienced, install comctl32.dll using ?comctl32.dll4.72 installation?. if windows 98, windows me, windows 2000, or microsoft internet explorer 3.0 or later is installed, installation of comctl32.dll is unnecessary.
chapter 2 installation user?s manual u15185ej1v0um 23 2.3.2 installation procedure the following describes the method of installing the ID78K0-NS. here, the installation procedure is explained with ?c:\windows? as the directory in which windows is installed and ?e? as the floppy disk drive. <1> turn on power to the host machine (pc-9821 or ibm pc/at) and start up windows. <2> insert the cd-rom in the cd-rom drive. the installer will automatically start. if the installer does not start automatically, start from the directory ?disk1/setup.exe?. insert system disk #1 of the ID78K0-NS in the floppy disk drive (a drive) and start the installer ?setup.exe?. <3> the setup program is activated following setup initialization. click . installation can be terminated by clicking the button.
chapter 2 installation user?s manual u15185ej1v0um 24 <4> when installing the ID78K0-NS, click after reading and accepting the terms of the software license agreement. clicking will abort installation. click to display the previous screen. <5> input the product id. the product id is indicated on the cd case or on the fd.
chapter 2 installation user?s manual u15185ej1v0um 25 <6> select the items to be installed and the destination drive or directory. clear the check mark from the components that are not to be installed. the default destination drive or directory is c:\nectools32. bearing in mind relationships with other nec tools, installation using the default directory is recommended. if there is a problem with the drive or directory, click and make appropriate modifications. after setting each item, click . to abort installation, click . click to display the previous screen.
chapter 2 installation user?s manual u15185ej1v0um 26 <7> if newly installing an ID78K0-NS or if previously installed ID78K0-NS has already been uninstalled, follow the procedure from <8>. (1) if there is an ID78K0-NS preinstalled in the directory specified by <6>, the following message is displayed. click and the following dialog box appears. click to uninstall the ID78K0-NS. if is selected, uninstallation will not be executed and the procedure shifts to <8>.
chapter 2 installation user?s manual u15185ej1v0um 27 (2) if the ID78K0-NS is installed in a directory other than a directory specified by <6>, the following message is displayed. note that the execution shifts to <8> by clicking , in which case the uninstaller will not be activated. <8> specify the name of the folder in which the ID78K0-NS icon is to be registered. the default folder name is ?nec tools32?. after specifying the folder name, click . to abort installation, click . click to display the previous screen.
chapter 2 installation user?s manual u15185ej1v0um 28 <9> final confirmation of installation start is made. check the settings made in <4> to <8>. if there are no changes to these settings, click . if changes are necessary, click . if there are any problems, click and abort installation.
chapter 2 installation user?s manual u15185ej1v0um 29 <10> start copying files. the change-of-system-disk message will not be displayed. the contents of directory disk1 to disk5 are automatically copied. the installation status is displayed. the change-of-system-disk message (setup needs the next disk) dialog box will open, so after changing the disk, click . this operation is repeated until the insertion of system disk #5. the change-of-system-disk message will appear during copying. <11> if an nec development tool environment for win16 (default directory: \nectools) does not exist in the host machine used, move to procedure <12>. if a development tool for win16 exists in the host machine, the following dialog box appears. click to move the device file used in the development tool environment for win16 to the development tool environment for win32 (this product). if is selected, execute the device file installer ?dfinst.exe? following the installation of the ID78K0-NS to shift the device file. the id78k0- ns will not operate normally unless the device file is moved.
chapter 2 installation user?s manual u15185ej1v0um 30 <12> after the files have been copied, the setup complete dialog box will open, so click . installation of the ID78K0-NS is now complete. <13> the ID78K0-NS icon will be registered in the folder specified in procedure <8>.
chapter 2 installation user?s manual u15185ej1v0um 31 2.4 uninstalling ID78K0-NS this section explains how to uninstall the ID78K0-NS, using ?c:\windows? as the directory in which windows is installed. <1> turn on power to the host machine (pc-9821 or ibm pc/at) and start up windows. <2> activate ?add/remove programs? from the control panel. <3> select ?nec ID78K0-NS 78k/0 integrated debugger v2.xx? from the list displayed in ?install/uninstall? and click .
chapter 2 installation user?s manual u15185ej1v0um 32 <4> the confirm file deletion dialog box will be displayed next, so click . file deletion starts. <5> the dialog box below will appear during deletion, so click (if is selected and the files are not deleted here, the latest ?tipad78k0a.dll? will be overwritten when the id78k series is reinstalled).
chapter 2 installation user?s manual u15185ej1v0um 33 <6> the program will be deleted. when the message ?uninstall completed? appears, click . uninstallation of ID78K0-NS is now complete.
user?s manual u15185ej1v0um 34 chapter 3 starting and exiting note that in this chapter, the ID78K0-NS is treated as the representative product. if you are using another product, take the ID78K0-NS as the other product. this chapter explains how to start and exit the ID78K0-NS. 3.1 starting the start method is as follows: <1> turn on power to the in-circuit emulator and target system. <2> start windows on the pc. <3> double-click the shortcut icon of the ID78K0-NS on the desktop to start up the ID78K0-NS (see figure 3-1 ). the configuration dialog box will be displayed (see figure 3-2 ). figure 3-1. ID78K0-NS icon figure 3-2. configuration dialog box on starting
chapter 3 starting and exiting user?s manual u15185ej1v0um 35 <4> operating environment parameters for the ID78K0-NS are set in this dialog box (refer to chapter 6 window reference ). after setting the parameters, click the button in the dialog box. <5> the main window will then be opened (see figure 3-3 ) and the ID78K0-NS can be operated. debugging operations are all carried out from this window. figure 3-3. main window caution problems such as dialog boxes not displaying data correctly are sometimes experienced when the ID78K0-NS is started up, or if an application error occurs while in use. one cause of such problems may be that an old version of comctl32.dll, which comes with windows 95, is being used. if this is the case, it will be necessary to update comctl32.dll using the comctl32.dll 4.72 installer (40comupd.exe) included with this product. note that if windows 98 or microsoft internet explorer 3.x or 4.x has been installed, this update is unnecessary. figure 3-4. comctl32.dll 4.72 installer (1) toolbar (3) status display area (2) window display area
chapter 3 starting and exiting user?s manual u15185ej1v0um 36 3.2 exiting the exit method is as follows: <1> in the main window, select [file] [ex it]. the following exit debugger dialog box will be displayed. figure 3-5. exit debugger dialog box <2> click the no button. if the yes button is clicked, the save as dialog box is displayed note , the current debugging environment is saved to the project file, and all the windows are closed. note the save as dialog box is displayed only when a project file name is not determined (otherwise, it is not displayed).
user?s manual u15185ej1v0um 37 chapter 4 functions of id78k series this chapter explains the basic functions and processing conventions of the id78k series. 4.1 mapping function 4.1.1 mapping function of ID78K0-NS (-ns) and id78k4 (-ns) the following seven types of mapping functions are available. these mapping functions are set in the configuration dialog box (refer to chapter 6 window reference ). (1) internal rom the memory area specified as internal rom is equivalent to the internal rom of the target device. if the target device writes data to the memory area, a write protect break occurs. (2) internal ram the memory area specified as internal ram is equivalent to the internal ram of the target device. in this case, the target device accesses the memory in the in-circuit emulator. (3) user area mapping (target) the memory area specified for user area mapping note is an area that accesses the memory on the target system. in this case, the target device accesses the memory on the target system. note these memory areas can be set in address areas other than the internal rom and internal ram areas. (4) emulation rom the memory area specified as emulation rom note is equivalent to the rom connected to the target device. note these memory areas can be set in address areas other than the internal rom and internal ram areas. (5) emulation ram the memory area specified as emulation ram note is equivalent to the ram connected to the target device. in this case, the target device accesses the memory in the in-circuit emulator. note these memory areas can be set in address areas other than the internal rom and internal ram areas. (6) i/o protect area (i/o protect) the i/o protect area can be set in the area specified as target. this area is displayed in the same manner as an unmapped area on the memory window (the symbol ?? is displayed). if this area is mapped with this attribute, it can no longer be read or written easily, protecting it from erroneous access from the memory window. to read or write a value of the area mapped with this attribute, register in the sfr window or watch window (refer to chapter 6 window reference ). (7) stack area note the area used as a stack area can be set as the stack area. setting the stack area enables deletion of a ?stack overflow error? when data has overflowed from the stack area during program execution. note the id78k4-ns does not support stack mapping.
chapter 4 functions of id78k series user?s manual u15185ej1v0um 38 4.1.2 mapping functions of id78k0s-ns for the id78k0s-ns, the following type of mapping function is available. this mapping function is set in the configuration dialog box (refer to chapter 6 window reference ). (1) stack area the area used as a stack can be set as the stack area. setting the stack area enables detection of a ?stack overflow error? when data has overflowed from the stack area during program execution. 4.2 emulation execution functions the emulation execution functions start the execution of the user program and the operation of the tracer and timer by the emulation cpu. these functions are classified as follows by the execution mode of the user program. 4.2.1 real-time execution function real-time execution can be performed by the following commands.  go command ( button)  ignore break points and go command ( button)  start command (no button)  go & go command (no button)  come command (no button)  restart command ( button)  return out command ( button) (1) go command ( button) this command executes the user program starting from the address indicated by the current pc register. execution of the user program is stopped when a specified break event condition is satisfied. each analyzer gets ready to operate when the user program is executed, and is executed or stopped depending on whether each event condition (trace event condition, timer event condition, etc.) is satisfied or not. (2) ignore break points and go command ( button) this command executes the user program, ignoring the set break conditions (both hardware and software conditions). (3) start command this command executes the user program starting from a specified address. execution of the user program is stopped when a specified break event condition is satisfied. (4) go & go command this command executes the user program starting from the address indicated by the current pc register. execution of the user program is stopped once if a specified break event condition is satisfied. the contents of each window are updated, and the user program is then executed again starting from the address where it stopped. these operations are repeated until the user issues a stop command.
chapter 4 functions of id78k series user?s manual u15185ej1v0um 39 (5) come command this command executes the user program starting from the address indicated by the current pc register to the address selected in the line/address display area on the source window or assemble window (refer to chapter 6 window reference ), and then a break occurs. while the user program is being executed by this command, the break event currently set does not occur. (6) restart command ( button) this command resets the emulation cpu and then executes the user program starting from address 0. this operation is the same as when the go command is executed following reset of the emulation cpu prior to user program execution. (7) return out command ( button) this command executes until execution returns to the calling function. this command may not operate properly with assembler functions, etc. 4.2.2 non real-time execution function non real-time execution can be performed by using the following commands.  step in command ( button)  return out command ( button)  next over command ( button)  slowmotion command (no button) (1) step in command ( button) the operation performed by this command differs as follows depending on the debugging mode. (a) ?source level? mode one line of the source text is executed starting from the current pc register value, and the contents of each window are updated. (b) ?instruction level? mode one instruction is executed starting from the current pc register value, and the contents of each window are updated. (2) return out command ( button) this command executes the program in real-time from the current pc register value to the calling source, and updates the contents of each window. (3) next over command ( button) the operation of this command differs depending on the debugging mode. (a) source level next step execution is performed for one line of the source text from the current pc register value and the contents of each window are updated. (b) instruction level next step execution is performed for one instruction from the current pc register value and the contents of each window are updated.
chapter 4 functions of id78k series user?s manual u15185ej1v0um 40 (4) slowmotion command this command executes one line in the ?source level? mode, or one instruction in the ?instruction level? mode, starting from the address indicated by the current pc register. the contents of each window are updated each time this command is executed. these operations are repeated until the user issues a stop command. 4.3 event function an event is a ?specific status of the target system? during the execution of the user program, for example ?address 0x1000 fetched? and ?data written to address 0x1000? showing the specific status of the target system during debugging. the id78k series use these events as action triggers for break, trace, timer measurement, snapshot, dmm event note , and stub functions. an event function sets, deletes, or references the ?specific status of the target system? that triggers an action (debug action) as an ?event condition?. note the dmm event function is provided only in the ID78K0-NS and id78k0s-ns. 4.3.1 using event function to use an action that is triggered by an event in accordance with the user?s debugging aims, the event conditions shown in table 4-1 must be set. table 4-1. relationship between event conditions and setting dialog box event condition setting dialog box function break event condition break dialog box condition to execute user program or stop operation of tracer and timer trace event condition trace dialog box start/end condition when execution process of user program is saved in trace memory timer event condition note 1 timer dialog box start/end condition when execution time of user program is measured snap event condition note 1 snap shot dialog box trigger condition for executing snapshot dmm event condition note 2 dmm dialog box condition to write arbitrary data to specified address when a specified event is established during execution of user program stub event condition note 3 stub dialog box condition in which execution jumps to specified address if specified event is established. notes 1. not supported in the id78k4-ns 2. supported only in the ID78K0-NS and id78k0s-ns 3. supported only in the id78k4 these event conditions are set by using an ?event condition? or ?event link condition? alone or in combination. to use the event function of the id78k series, therefore, the necessary ?event condition? and ?event link condition? are first created, and then the event conditions shown in table 4-1 are set by using these conditions.
chapter 4 functions of id78k series user?s manual u15185ej1v0um 41 4.3.2 event conditions how to create each event condition is explained next. (1) creating event conditions an ?event condition? is set in the event dialog box (refer to chapter 6 window reference ). an address condition, status condition, data condition, external sense data condition, and access size condition are set in this dialog box. a name is given to the combination of these conditions for registration. the maximum number of event conditions that can be registered in the event dialog box is 256. the maximum number of event conditions that can be simultaneously used for each event condition is 28 (16 execution events and 12 access events) for the ie-78k0-ns + ie-78k0s-ns-pa, ie-78k0-ns-a, and ie-78k0s-ns-a, 12 (8 execution events and 4 access events) for the ie-78k0-ns and ie-78k0s-ns, 10 (3 execution events and 7 access events) for the ie-784000-r, and 8 (4 execution events and 4 access events) for the ie-78k4-ns. table 4-2 lists the contents of each condition that can be set in the event dialog box.
chapter 4 functions of id78k series user?s manual u15185ej1v0um 42 table 4-2. each condition that can be set in event dialog box condition contents address condition uses a specified address or address range as an event. in the id78k0 (-ns) and id78k0s-ns, a mask value cannot be set for the specified address. a mask value can only be set for the specified address in the id78k4 (-ns). to set an address range, an error occurs unless the start address is an even address and the end address is an odd address. note that bits can also be set (address.bit). status condition uses a status for an address condition as an event. the status is selected from the following. [id78k (-ns), id78k0s-ns] execution note 1 : execution of instruction before execution note 2 : execution of instruction (break before execution) read: reading memory write: writing memory r/w: reading/writing memory external trigger1 note 2 : external trigger (1 bit) external trigger2 note 2 : external trigger (ID78K0-NS: 8 bits) (id-78k0s-ns: 16 bits) [id78k4 (-ns)] execution note 1 : execution of instruction opcode fetch: op code fetch before execution: execution of instruction (break before execution) r/w note 3 : reading/writing memory read note 3 : reading memory write note 3 : writing memory r/w by macro: data read/write by macro service read by macro: data read by macro service write by macro: data write by macro service r/w by program: data read/write by program read by program: data read by program write by program: data write by program vector read: vector read by interrupt access: all accesses external trigger: external trigger (1 bit) data condition uses the data detected by a status condition as an event. a mask value can be set for the data. external sense data condition uses the data of the external probe signal as an event. a mask value can be set for an external sense data condition. notes 1. if execution is selected as the status condition, the address mask, data, data mask, and access size conditions are invalid. 2. not supported in the id78k0 3. not supported in the id78k4
chapter 4 functions of id78k series user?s manual u15185ej1v0um 43 (2) event condition type event conditions are classified into the three event types shown in the table below. these event types are automatically determined by selecting the desired status condition when creating an event condition. table 4-3 lists the event condition types. table 4-3. event condition types [id78k (-ns), id78k0s-ns] event type status function execution event execution before execution external trigger1 external trigger2 event condition is satisfied when user program begins execution of instruction at specified address and when data is input to external sense clip at that time. up to 18 event conditions of this type can be used for each event condition. access event program read program write program r/w when the user program accesses specified memory, up to 12 event conditions of this type can be used for each event condition. [id78k4 (-ns)] event type status function execution event execution an event condition is satisfied when the user program attempts to execute an instruction at the specified address and when data is input to an external sense clip at that time. up to 18 event conditions of this type can be used for each event condition. access event opcode fetch before execution r/w note read note write note r/w by macro read by macro write by macro r/w by program read by program write by program vector read access external trigger note when the user program accesses specified memory, up to 12 event conditions of this type can be used for each event condition. note not supported in the id78k4
chapter 4 functions of id78k series user?s manual u15185ej1v0um 44 (3) creating event link condition an ?event link condition? is a condition under which a sequential rule is applied to the respective events to treat the events as a single event. an event link condition is created in the event link dialog box (refer to chapter 6 window reference ). by arranging the event conditions first registered in the event dialog box in random order in the event link dialog box, these event conditions can be registered under one name as single event link condition. the registered event link condition can be used to set various event conditions in the same manner as event conditions. the maximum number of event link conditions that can be set in the event link dialog box is 256. however, up to three event conditions can be simultaneously used in the ID78K0-NS and id78k0s-ns, and up to two event conditions can be used in the id78k4. only one event condition can be used in the id78k0 and id78k4-ns. (4) displaying setting status of event condition all the registered event conditions and event link conditions are managed or displayed in the event manager (refer to chapter 6 window reference ). the setting status of all the event conditions created by using the event conditions or event link condition are also managed or displayed in the event manager. in the event manager (refer to chapter 6 window reference ), a mark indicating the type of each event condition, and an icon indicating an event name specified for registration are displayed. (5) setting each event condition the event conditions shown in table 4-1 are created in each setting dialog box. each event condition is created by dragging the event condition registered in the event manager, or the icon of an event link condition, to the condition item in each setting dialog box. a created event condition is ?set? by clicking the function button set or ok in the setting dialog box, or by clicking the mark of the event icon in the event manager and display it in red. by setting a created event condition, a debug action occurs as an event condition. for all the event conditions it is possible to ?register? up to 256 conditions, but the number of conditions that can be ?set? differs depending on each event condition.
chapter 4 functions of id78k series user?s manual u15185ej1v0um 45 4.4 break functions the break functions stop the execution of the user program and the operation of the tracer and timer by the emulation cpu. the following six types of break functions are available.  event detection break  break by come function  software break  break on satisfaction of condition during step execution  forced break  fail-safe break when the come, step in, return out, or next over command of the emulation execution functions is executed, event detection break and detection of software break are not performed. each break function is explained below. (1) event detection break an event detection break is a function to stop the execution of the user program by detecting a set break event condition. this function is used to stop a user program executed by the go, go & go, and restart commands. when the go & go command has been executed, the contents of each window are updated and the user program is then executed again after an event detection break has been implemented. set break events as follows:  set a break event in the source window or assemble window as an execution event.  set a break event in the break dialog box (refer to chapter 6 window reference ). (2) break by come function the break by come function is a function to stop a user program executed by the come command by detecting an address specified in the source window or assemble window. after user program execution has been stopped, the breakpoint by come function is eliminated. while the user program is being executed using this function, the currently set break event does not occur. (3) software break a software break is a function to stop a user program executed by the go, go & go, or restart command, by detecting a specified address. while event detection breaks use one hardware resource for one event condition, a software break can set a breakpoint to two or more addresses. (4) break on satisfaction of condition during step execution this is a function to stop the execution of the user program when the end condition of each command (step in, next over, return out, or slowmotion) is satisfied. because one instruction at a time is executed, stopped, and condition checked, the processing time of this function is slower than that of real-time execution.
chapter 4 functions of id78k series user?s manual u15185ej1v0um 46 (5) forced break a forced break is a function to forcibly stop the execution of the user program. this function is valid for all the program execution commands. a forced break is implemented by the following command.  stop command forcibly stops the execution of the user program. (6) fail-safe break a fail-safe break is a function to forcibly stop the user program when there has been an execution prohibiting the user program from accessing the memory and registers. the following three types of fail-safe break functions are available. (a) non-map break this break occurs if an attempt is made to access non-mapping area. (b) write-protect break this break occurs if an attempt is made to write to memory that must not be written to, such as rom. (c) sfr illegal access break this break occurs if an attempt is made to access an sfr illegally. if a fail-safe break occurs, the chances are the user program has a problem or the set environment of the id78k series is wrong. caution a non-map break may occur if the user program is written in the vicinity of the boundary between the mapping area and non-mapping area. this non-map break occurs in the following case. [maximum address value of mapping area ? ? ? ? 5] [program address] [maximum address value of mapping area]
chapter 4 functions of id78k series user?s manual u15185ej1v0um 47 4.5 trace function the trace function is to save the history of the data indicating the execution process of the user program in the trace memory. the trace data saved in the trace memory can be displayed on the trace view window (refer to chapter 6 window reference ). the functions related to the trace operation and trace are explained below. 4.5.1 operation of trace the trace memory of the id78k0 (-ns) and id78k0s-ns is a ring buffer with a capacity of 8,192 frames, and that of the id78k4 (-ns) is a ring buffer with a capacity of 32,768 frames. if trace is executed exceeding these frame limits, therefore, the newest frame data overwrites the oldest frame. the operation of the tracer differs as follows depending on the execution mode of the user program. (1) operation during real-time execution the operation of the tracer differs depending on the specified trace mode. trace mode operation of tracer all trace starts trace when real-time execution of program is specified, and ends trace when break occurs conditional trace starts/ends trace when condition set on trace dialog box is satisfied (if break occurs before that, however, trace is immediately stopped) (2) operation during step in execution the tracer operates each time one step is executed, and the trace data of one step is consecutively added to the trace memory. (3) operation during next over execution the operation of the tracer is the same as in step in execution.
chapter 4 functions of id78k series user?s manual u15185ej1v0um 48 4.5.2 trace condition setting function the setting function of a trace condition is as follows. (1) setting of trace mode the following two trace modes can be set. trace mode trace contents all trace unconditionally traces all execution processes of user program (default) conditional trace traces only specified zone these trace modes are set by selecting [run] from the main window (refer to chapter 6 window reference ) followed by [uncond. trace on]/[con d. trace on]. to stop the tracer function, select [run] from the main window, followed by [trac er stop] (this is valid only when [ignore break point] under [r un] in the main window has been checked). (2) setting trace event condition a trace event condition is a condition under which trace execution is started/ended if the conditional trace is selected as the trace mode. the trace event condition can be set on the trace dialog box (refer to chapter 6 window reference ). up to 256 trace event conditions can be registered, of which only one (ten in the id78k4) can be set. the following two modes can be selected for the conditional trace. (a) section trace in this mode, trace is started when a specified trace start condition is satisfied, and ends when a specified trace end condition is satisfied. as a start/end condition, an event condition or event link condition is used. (b) qualify trace in this mode, trace is executed only when a specified address is executed or accessed. an event condition is used as the event trigger.
chapter 4 functions of id78k series user?s manual u15185ej1v0um 49 4.5.3 trace result display function the result of a trace can be checked in the trace view window (refer to chapter 6 window reference ). the trace view window displays each frame of the trace contents of the following items shown in table 4-4. table 4-4. trace data display contents displayed item contents frame frame number of trace memory indicating time sequence time note execution time of each frame address fetch address data fetch data status fetch status address access address data access data status access status ext probe note input data of external sense clip disasm disassemble result note not supported in the id78k4-ns displayed item and contents can be selected by opening the trace data select dialog box under [view] [select?] in the main window.
chapter 4 functions of id78k series user?s manual u15185ej1v0um 50 4.6 coverage measurement function (other than id78k4-ns) the coverage measurement function is for registering a status for each address when the user program is executed. the ID78K0-NS and id78k0s-ns have a coverage memory of 64 kb and can measure any 64 kb space. in the id78k4, a 1 mb space of 0 to fffffh can be measured. coverage measurement can be performed by selecting [option] [cover age on] in the main window, and the measurements are recorded in the coverage memory when a program is executed. the result of coverage can be checked in the coverage window. the coverage efficiency can be displayed in the coverage-efficiency view dialog box. 4.7 snapshot function (other than id78k4-ns) the snapshot function is used to preserve the contents of register memory in the course of user program execution and the contents of the sfrs in the trace memory as snap data. a trigger that executes this snapshot is specified by a snap event condition. the snap event condition is set in the snap shot dialog box. when the snap event condition set in this dialog box is satisfied, the following data can be collected as snap data.  register values (program registers and system registers)  sfr values  memory contents one snap event condition can be specified to collect snap data up to 16 times.
chapter 4 functions of id78k series user?s manual u15185ej1v0um 51 4.8 load/save functions the load/save functions are for loading load modules and symbol information, and loading/saving data and debugging environments. the id78k series individually loads/saves each file. the following two types of files are loaded/saved.  display files: files recording the screen information when they are saved. by loading these files, the reference file is opened in the source window.  information files: files recording various set data and debugging environments as the internal information of the id78k series. 4.8.1 display files table 4-5 lists the display files handled by the id78k series. table 4-5. display files handled by id78k series file name (extension) outline operation window variable display file (.wch) shows variable information in watch window assemble display file (.dis) shows assemble information in assemble window memory display file (.mem) shows memory information in memory window register display file (.reg) shows register information in register window stack trace display file (.stk) shows stack trace information in stack window sfr display file (.sfr) shows sfr information in sfr window local variable display file (.loc) shows local variable information in local variable window trace display file (.tvw) shows trace information in trace view window coverage display file note (.cov) shows coverage information in coverage window source display file (.svw) shows text information in source window view file load dialog box, view file save dialog box note not supported in the id78k4-ns
chapter 4 functions of id78k series user?s manual u15185ej1v0um 52 4.8.2 information files table 4-6 lists the information files handled by the id78k series. table 4-6. information files handled by id78k series file name (extension) outline operation window object file (.hex) stores object code of user program download dialog box upload dialog box load module file (.lnk, .lmf, .d2b note 1 ) stores object code of user program, symbol, and source information download dialog box project file (.prj) stores debugging environment project file load dialog box project file save dialog box binary file (.bin) stores data of binary format download dialog box upload dialog box event set file (.evn) stores event set information of event manager view file load dialog box view file save dialog box coverage result file note 2 (.cvb) stores coverage result download dialog box upload dialog box notes 1. ?.d35? in id78k4 (-ns) 2. not supported in the id78k4-ns the project file sets window/dialog box display information, size, and display area when it is loaded to restore the previous debugging environment (the status when the project file was saved).
chapter 4 functions of id78k series user?s manual u15185ej1v0um 53 4.9 register manipulation functions the register manipulation functions are for displaying or changing the contents of the 78k/0 series and 78k/0s series microprocessors? program registers (pc and rp0 to rp3), system registers (sp and psw) (program registers (rp0 to 7) and system registers (pc, sp, and psw) for the 78k/iv series), and sfrs. these functions can be used in the register window or sfr window (refer to chapter 6 window reference ). 4.10 memory manipulation functions the memory manipulation functions are for displaying or changing the contents of the memory by using mnemonic, hexadecimal, and ascii codes. these functions can be used in the memory window or assemble window (refer to chapter 6 window reference ). 4.11 time measurement function the time measurement function is for measuring the total execution time from the start of execution of the user program to the end, and the execution time in a certain zone of the user program by using timer event. only run-break can be executed in the id78k0. in the id78k4-ns, the time of the zone set for zone trace can be measured. this function can be used in the timer dialog box (refer to chapter 6 window reference ). caution the number of usable timers is 1. 4.12 real-time ram sampling function the real-time ram sampling function reads the memory contents in real time and updates the displayed contents when a variable allocated to any 1 kb in internal ram area, whose contents can be read even during execution of the user program, is displayed (variable window) or the memory contents are displayed (memory window). in the id78k4-ns, rrm can be executed only in the internal high-speed ram (iram). in the id78k4, rrm can be executed in the internal high-speed ram (iram) and internal peripheral ram (pram). however, the values of rom/ram in the entire memory space can be read, stopping the program temporarily, depending on the setting of the extended option setting dialog box (pseudo-rrm function) note . the sampling time for real-time ram sampling can be set in units of 1 ms in the extended option dialog box (refer to chapter 6 window reference ). note the pseudo-rrm function is supported in ver.2.30 or later.
user?s manual u15185ej1v0um 54 chapter 5 association with project manager this chapter explains the procedure and notes on using the functions associated with the project manager (pm hereafter). the id78k series can automatically perform a sequence of tasks such as creating a program, compiling, debugging, and correcting the program, in association with the pm. to debug a load module file created in the pm at the source level, confirm that the item [option] [debug] is checked for building. caution when a load module file is created by using an ms-dos tm prompt, the functions of the id78k series associated with the pm cannot be used. 5.1 debugger registration in pm project either of the debuggers for id78k series/sm78k series can be specified for each project in the pm. the selection procedure is explained below (the ID78K0-NS is treated as the representative product in the following explanation). 5.1.1 debugger selection the procedure for selecting the debugger is as follows. <1> select [project] [n ew] in the pm to create a new project for the pm. alternatively, read an existing pm project by selecting [project] [o pen?]. for details of the setting items, refer to the pm online help or user?s manual. <2> select [option] [select d ebugger?] from the pm menu bar. this opens the select debugger type dialog box. figure 5-1 shows the select debugger type dialog box. figure 5-1. select debugger type dialog box (pm)
chapter 5 association with project manager user?s manual u15185ej1v0um 55 <3> either click ?78k/0 system debugger? by mouse from the debugger list, or specify the execution file name idk032a.exe (with path) for the debugger file name. <4> click ok. ID78K0-NS will now be registered as the project debugger of the open pm. the ID78K0-NS icon will also be displayed on the pm toolbar. 5.2 starting up id78k series from pm one of the following three methods can be used to start up the id78k series from the pm. (1) click the id78k series startup button on the pm toolbar. (2) select [build] [d ebug] from the pm menu bar. (3) select [build] [build a nd debug] from the pm menu bar. alternatively, click the batch-processing button on the pm toolbar (however, the id78k series will start up only if build has finished normally). 5.2.1 reproducing debug environment by following the procedure shown below, it is possible to reproduce the debug environment of the previous time the id78k series was started up from the pm. <1> create a new project file note with the pm (eg: aaa.prj) note use the project file to save and reference the environment data for the debugger (id78k series) and the pm. the project file extension when dealing with the debugger and pm is prj. refer to the online help or user?s manual of each product regarding the data that is saved and reproduced using a project file. <2> start up the id78k series from the pm. because the project file is new, set items other than the device classification in the configuration dialog box, in the same way as when starting up the id78k series individually. <3> debug the target device with the id78k series. <4> when the id78k series has finished debugging, click the yes button in the exit debugger dialog box and exit the id78k series. the debug environment at the completion of id78k series debugging is saved to the aaa.prj file (the debug environment can also be saved to the aaa.prj file at times other than the completion of id78k series debugging). <5> when the id78k series is next started up after the aaa.prj file is read by the pm, the debug environment saved in <4> above is automatically reproduced. the project file currently being used by the pm (aaa.prj) is automatically read when the id78k series is started up.
chapter 5 association with project manager user?s manual u15185ej1v0um 56 5.3 correction and auto load of source file if a bug is found as a result of debugging using the id78k series, source file editing, compiling, and re- downloading can be automatically executed using the following procedure while the id78k series remains activated (the ID78K0-NS is treated as the representative product in the following explanation). caution if [option] [p roject manager options...] is selected in the pm, and if an editor other than the standard editor is selected, this processing cannot be performed. <1> read the source file to be corrected with the ID78K0-NS in the source window. with the source window displayed at the foremost position, select [file] [o pen?] on the main window to specify the corresponding file (if the corresponding file has already been displayed in the source window, activate the window). the corresponding file is displayed in the source window. <2> select [edit] [e dit source] in the ID78K0-NS main window. the corresponding source file is automatically read to the standard editor and opened. <3> correct the source file in the editor. <4> select [file] [s ave] in the editor and save the file. <5> select [file] [e xit idea-l] in the editor to terminate the editor. as a result, the pm automatically executes compiling, assembling, and linking in accordance with the settings of the project. when these operations have been completed normally, the created load module file is automatically downloaded to the ID78K0-NS. cautions 1. when the load module file is automatically downloaded, cpu reset is not executed. 2. the debug window, which was opened when the editor was called, and all event settings are restored. however, if the previously used lines and symbols have been deleted because of source file correction, an error message is displayed, and an event using the deleted symbol cannot be used.
user?s manual u15185ej1v0um 57 chapter 6 window reference this chapter explains in detail the functions of the windows and dialog boxes of the id78k series. for the configuration and details of the types of the windows and dialog boxes, refer to appendix b terminology . 6.1 window list table 6-1 lists the windows of the id78k series debugger. table 6-1. windows of id78k series debugger (1/2) window name outline page main window this window is displayed first when the debugger is started. it controls execution of the user program. in addition, various windows are opened from this window. p.60 configuration dialog box sets/displays the debugger environment p.86 bank set dialog box sets the memory banks p.92 mask option dialog box sets the mask options p.95 extended option dialog box sets/displays each extended option p.97 debugger option dialog box sets/displays each option p.103 font dialog box sets the type and size of the display font in the source window p.111 project file load dialog box reads debugging environment p.114 project file save dialog box saves the debugging environment p.117 view file load dialog box reads the display files of each window and the source text and event setting files p.121 view file save dialog box saves the display files of the current window and the event setting files p.124 download dialog box downloads the object files, binary files, and coverage results p.130 upload dialog box saves the memory or coverage contents to a file p.134 browse dialog box selects the files to be set in the debugger option and source search dialog boxes p.137 source move dialog box specifies the files to be displayed in the source window and the display start position p.139 address move dialog box specifies the display start address for the memory, assemble, and coverage windows p.142 trace move dialog box specifies the display start position for the trace view window p.145 symbol to address dialog box displays the addresses and symbol values of variables and functions p.148 source window displays source files and text files p.151 source search dialog box searches a character string in a source file p.164 assemble window displays the disassemble text and executes on-line assemble p.167 assemble search dialog box searches the contents of the assemble window p.178 memory window displays/changes the memory contents p.181 memory search dialog box searches the contents of the memory window p.186 memory fill dialog box initializes the memory contents by specified data p.189 memory copy dialog box copies the memory contents p.191 memory compare dialog box compares the memory contents p.193 memory compare result dialog box displays the result of comparison of memory contents p.195
chapter 6 window reference user?s manual u15185ej1v0um 58 table 6-1. windows of id78k series debugger (2/2) window name outline page pseudo dmm dialog box sets the address and data for dmm. p.197 watch window displays/changes variables p.199 quick watch dialog box displays/changes variable values temporarily p.204 add watch dialog box registers variables to be displayed in the watch window p.208 change watch dialog box changes data on the line selected in the watch window. p.211 register window displays/changes register (program register, system register) contents p.214 sfr window displays/changes contents of sfr p.218 sfr select dialog box selects sfrs and i/o ports to be displayed in the sfr window p.222 add i/o port dialog box registers i/o ports to be displayed in the sfr window p.225 local variable window displays/changes local variable in current function p.228 stack window displays/changes the stack contents of the current user program p.231 trace view window displays the trace results p.236 trace search dialog box searches the trace data p.246 trace data select dialog box selects items to be displayed in the trace view window p.254 coverage window displays the coverage results p.258 coverage search dialog box searches the coverage results p.263 coverage clear dialog box clears the coverage results p.266 coverage-condition setting dialog box sets the coverage efficiency of the measurement range p.268 coverage-efficiency view dialog box displays the coverage results in terms of efficiency p.271 event manager displays, switches enable/disable, or deletes each event p.274 software break manager displays, switches enable/disable, or deletes a software break p.284 event dialog box registers/displays an event condition p.287 event link dialog box registers/displays an event link condition p.303 break dialog box registers/sets/displays a break event condition p.313 trace dialog box registers/sets/displays a trace event condition p.320 snap shot dialog box registers/sets/displays a snap event condition p.331 stub dialog box registers/sets/displays a stub event condition p.346 timer dialog box displays the result of execution time measurement and registers/sets/displays timer event conditions p.354 timer result dialog box displays the results of the executed measurement p.365 dmm dialog box sets dynamic memory modification p.368 pass count dialog box sets the pass count p.374 delay count dialog box sets the delay count p.376 reset debugger dialog box initializes the id78k series, and target cpu and symbol information p.378 about dialog box displays the version of the id78k series p.380 exit debugger dialog box terminates the id78k series p.381 error/warning dialog box displays an error/warning message p.383 console window command input window. p.384
chapter 6 window reference user?s manual u15185ej1v0um 59 6.2 explanation of windows this section explains each window using the format shown below. window name the window name is indicated in this frame. general briefly explains the window. opening method explains how to open the window. window shows the screen image of the window configuration. function explains each function of the window. function buttons explains the operations of the function buttons in the window. menu bar enumerates the menus pulled down from the menu bar, and explains the function of each menu. caution explains points of caution to be noted.
chapter 6 window reference user?s manual u15185ej1v0um 60 main window general this window is automatically opened after the id78k series is started and initialization is complete. it remains displayed until the id78k series is terminated. various windows are opened and manipulated from this window. execution of the user program is also controlled in this window. execution of the user program can be controlled in three modes: source mode, instruction mode, and automatic mode. ? source mode debugging is performed at the source level. ? instruction mode debugging is performed at the instruction level. ? automatic mode switches automatically between the source mode and instruction mode. this window is in the source mode (other than mixed display mode) or the instruction mode when the source window is active and in the instruction mode when the assemble window is active. when neither window is active, this window is in the source mode. when starting the id78k series, the automatic mode is assumed. window figure 6-1. main window (1) toolbar (2) window display area (3) status display area
chapter 6 window reference user?s manual u15185ej1v0um 61 function the main window consists of the following areas. ? menu bar ? toolbar ? window display area ? status display area the function of each area is explained below. (1) toolbar the toolbar consists of buttons that can execute frequently used commands with a single click. each button is graphically displayed and easy to understand. this button group can be switched between ?graphics-only buttons? and ?graphics + text buttons? by the debugger option dialog box. the function of each button can also be executed using the menu bar in this window. this toolbar is not shown when it is specified not to be displayed by selecting [option] [tool bar] from the menu bar of this window. figure 6-2. toolbar graphics-only toolbar an explanation of each button is given below. this button stops execution of the user program. the same function as [run] [s top] on the menu bar. this button runs the user program after the emulation cpu is reset. the same function as [run] [r estart] on the menu bar. this button runs the user program without resetting the emulation cpu. the same function as [run] [g o] on the menu bar. this button executes the user program, ignoring the set break conditions (both hardware and software conditions). the same function as [run] [ignore break p oints and go] on the menu bar. this button executes the program in real-time until execution returns to the calling function. the same function as [run] [re turn out] on the menu bar. graphics + text toolbar
chapter 6 window reference user?s manual u15185ej1v0um 62 this button is used for step execution. by clicking this button successively, the program is executed by as many steps as the number of times this button is clicked. step execution is performed in line units in the source mode, and in instruction units in the instruction mode. the same function as [run] [st ep in] on the menu bar. this button executes the next step (i.e. executes the program, regarding the function/call statement as one step.). by clicking this button successively, next step execution is performed as many times as the number of times this button is clicked. next step execution is performed in line units in the source mode, and in instruction units in the instruction mode. the same function as [run] [nex t over] on the menu bar. this button resets the emulation cpu. the same function as [run] [cpu reset] on the menu bar. this button opens the view file load dialog box. the same function as [file] [o pen?] on the menu bar. this button opens the download dialog box. the same function as [file] [d ownload?] on the menu bar. this button opens the project file load dialog box. the same function as [file] [proj ect] [o pen?] on the menu bar. this button opens the source window and displays the contents of the source text. the same function as [browse] [s ource text] on the menu bar. this button opens the assemble window, where the user program is disassembled and displayed. the same function as [browse] [a ssemble] on the menu bar. this button opens the memory window and displays the memory contents. the same function as [browse] [m emory] on the menu bar. this button opens the watch window and displays the watch contents. the same function as [browse] [w atch] on the menu bar. this button opens the register window and displays the contents of the registers. the same function as [browse] [r egister] on the menu bar. this button opens the sfr window and displays the contents of the sfrs. the same function as [browse] [sf r] on the menu bar. this button opens the local variable window and displays the local variable contents. the same function as [browse] [l ocal variable] on the menu bar.
chapter 6 window reference user?s manual u15185ej1v0um 63 this button opens the stack window and displays the contents of the stack. the same function as [browse] [stack trace] on the menu bar. this button opens the trace view window and displays the result of a trace. the same function as [browse] [t race] on the menu bar. this button opens the coverage window and displays the coverage measurement results note . the same function as [browse] [co verage] on the menu bar. this button opens the event manager. the same function as [event] [event m anager] on the menu bar. this button opens the event dialog box and registers or sets events. the same function as [event] [e vent...] on the menu bar. this button opens the break dialog box and registers, sets, or displays break events. the same function as [event] [b reak?] on the menu bar. this button opens the trace dialog box and registers, sets, or displays trace events. the same function as [event] [t race?] on the menu bar. this button opens the timer dialog box, registers, sets, or displays timer events, and displays the result of timer measurement. the same function as [event] [ti mer?] on the menu bar. note this is valid when the performance board is attached, when the ie-78k0-ns-a or ie-78k0s-ns-a is used, or when the ie-784000-r is used. (a) tool hint function if the mouse cursor is pointed at any of the buttons on the toolbar, a tool hint pops up after a few seconds. figure 6-3. example of tool hint (b) moving the toolbar by dragging toolbar with the mouse, it can be moved to any desired position within or outside the main window.
chapter 6 window reference user?s manual u15185ej1v0um 64 (2) window display area this area displays various debug windows. the displayed window can be changed in size or registered as an icon in this area. the list of the windows displayed in this area is as follows. ? source window ? local variable window ? assemble window ? stack window ? watch window ? trace view window ? memory window ? coverage window ? register window ? event manager ? sfr window (3) status display area figure 6-4. status bar this area displays the status of the debugger and in-circuit emulator. <1> program name $ source name # line no. program name: displays the program file name indicated by the pc value. source name: displays the source file name indicated by the pc value. line no.: displays the line number indicated by the pc value. <2> function name: displays the function name indicated by the pc value. <3> pc value: displays the current pc value. <4> cpu status: displays the status of the cpu (target device) (not displayed in the ID78K0-NS). <5> ie status: displays the status of the in-circuit emulator (run, break mode). displays the character ?|? as a delimiter if there are multiple states. if ?run? is displayed (while the user program is being executed), the color of the status bar changes to red, indicating that program execution is in progress. <6> break cause: displays the cause of the break. <7> step mode: displays the step execution mode. <8> key input mode: displays the key input mode. <1> <2> <3> <4> <5> <6> <7> <8>
chapter 6 window reference user?s manual u15185ej1v0um 65 the types of ie and cpu statuses are shown below. table 6-2. ie status display contents status indication meaning run note currently running a user program. step currently executing a step. trc currently operating a trace. tim currently operating a timer. cov currently operating coverage. break break note if ?run? is displayed, the color of the status bar changes to red, indicating that program execution is in progress. table 6-3. cpu status display contents status indication meaning standby in standby mode h-stop in hardware stop mode hold bus hold note wait bus wait note pow off power is not supplied to the target system note supported only in the id78k4 the causes of a break are as follows. table 6-4. display contents of break cause displayed cause meaning manual break forcible break temporary break temporary break event break break by event software break break by software break event non map break access in non-map area write protect write access to write-protected area sfr illegal illegal access to sfr stack overflow note 1 break by stack overflow relocation break note 2 execution of location instruction different from default notes 1. cannot be detected in the id78k4-ns 2. supported only in the id78k4 (-ns)
chapter 6 window reference user?s manual u15185ej1v0um 66 the types of step modes are shown below. table 6-5. step modes step mode meaning src step execution is in the source mode. this is displayed when [option] [s ource mode] in the menu bar is selected. inst step execution is in the instruction mode. this is displayed when [option] [i nstruction mode] in the menu bar is selected. auto step execution is in the automatic mode. this is displayed when [option] [au to mode] on the menu bar is selected. the types of key input modes are shown below. table 6-6. key input modes key input mode meaning ins displayed when key input is in the insert mode. ovr displayed when key input is in the overwrite mode.
chapter 6 window reference user?s manual u15185ej1v0um 67 menu bar (1) file figure 6-5. file menu bar file edit option help _ _ _ _ open... _ save as... _ debugger reset... _ exit _ view _ run _ event _ browse _ jump _ window close _ download... _ upload... _ project _ open... _ save _ save as... _ _ [open?] this loads the display file or a source file or text file. opens the view file load dialog box. operation differs depending on the file type selected in the dialog box. when it is a source file in which symbol information is read: files are displayed in the source window. when it is an event setting file (.evn): the event manager is opened and the event is set. when it is a source file in which symbol information is not read, or a display file: files are displayed in the source window as text format files. [save as?] saves the displayed contents of the current window in a file under another name. opens the view file save dialog box. [close] closes the current window. [download?] downloads the program. opens the download dialog box. [upload?] uploads the program. opens the upload dialog box.
chapter 6 window reference user ? s manual u15185ej1v0um 68 [project >] operates a project file. [open?] opens a project file. opens the project file load dialog box. [save] overwrites the current status to the project file. the file to be overwritten is the project file that is currently being read in the debugger. [save as?] saves the current status in a project file. opens the project file save dialog box. [debugger reset?] resets the target cpu, symbols, and debugger. opens the reset debugger dialog box. [exit] terminates the debugger. opens the exit debugger dialog box. [open file] displays a list of the downloaded files. if a file name is selected, that file is downloaded again. (2) edit figure 6-6. edit menu bar file edit option help cut copy edit source view run event browse jump window paste write in restore memory fill... copy... compare... modify... _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [cut] cuts the selected character string and places it in the clipboard buffer. [copy] copies the selected character string to the clipboard buffer. [paste] pastes the contents of the clipboard buffer at the text cursor position. [write in] writes corrections to the target. [restore] cancels the correction. [memory >] manipulates the memory contents. [fill...] initializes the memory contents. opens the memory fill dialog box.
chapter 6 window reference user?s manual u15185ej1v0um 69 [copy...] copies values from memory to memory. opens the memory copy dialog box. [compare...] compares values between memories. opens the memory compare dialog box. [modify?] modifies the memory while the user program is being executed. the pseudo-dmm dialog box is opened. [edit source] when the project manager is operating, opens the source file displayed in an active source window by using the editor specified by the project manager.
chapter 6 window reference user ? s manual u15185ej1v0um 70 (3) view the display menu consists of a common part, in which the menu items are common to all windows and a dependent part, in which the menu items differ according to the active window. an explanation of each dependent part is given in (b) to (k). figure 6-7. view menu bar file edit option help _ _ _ _ search... _ move... _ symbol... _ view _ run _ event _ browse _ jump _ window _ quick watch... _ add watch... _ _ delete watch _ event ? _ mix _ view watch change watch _ event ? _ bin _ oct _ dec _ hex _ nibble _ byte _ word _ little endian _ double word _ ascii _ bin _ oct _ create break event _ dec _ hex _ string _ proper _ byte _ word _ general _ double word _ adaptive _ up _ down _ compulsion read _ bin _ oct _ dec _ hex _ absolute name _ function name _ bin _ oct _ dec _ hex _ sort by name _ sort by address _ unsort _ attribute _ pick up _ select... _ compulsion read _ bin _ oct _ dec _ hex _ string _ proper _ 1 byte _ 64 bytes _ 1024 bytes _ select all event _ delete event _ sort by name _ sort by kind _ unsort _ detail _ overview _ select... _ pick up _ mix _ window synchronize _ off _ search _ snap _ brm1 _ source text _ assemble _ memory _ coverage note _ break when access to this valiable _ break when write to this valiable _ break when read from this valiable _ source window assemble window memory window watch window register window sfr window trace window local variable window stack window coverage window note event manager common part big endian _ note the coverage window is valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns- a or ie-78k0s-ns-a is used, or when the ie-784000-r is used.
chapter 6 window reference user ? s manual u15185ej1v0um 71 (a) common part [search ? ] performs a search. opens the search dialog box according to the current window. performs the same operation as the search button. [move ? ] moves the display position. opens the source move dialog box, address move dialog box or trace move dialog box corresponding to the current window. [quick watch ? ] displays the contents of the specified data temporarily. opens the quick watch dialog box. [add watch ? ] adds the specified data to the watch window. opens the add watch dialog box. [view watch] adds the selected data to the watch window. in the case of a symbol, it adds it in accordance with the settings in the debugger option dialog box. [change watch] changes the character string of the variable name at the selected watch point. opens the add watch dialog box. this menu is valid only when a variable is specified in the watch window. [delete watch] deletes the selected watch point from the watch window. this menu is active only when variables are specified in the watch window. [symbol ? ] displays the address of the specified variable or function and the value of the specified symbol. opens the symbol to address dialog box. (b) source window dependent part [event?] displays the cursor position line or the address ? s event information. if an event is set, it opens the event dialog box. [mix] switches between mixed display and no mixed display for the assemble display. no check mark ( ? ? ): no mixed display (default). check mark ( ? ? ): mixed display. (c) assemble window dependent part [event?] displays event information for the cursor position address. if an event is set, it opens the event dialog box.
chapter 6 window reference user?s manual u15185ej1v0um 72 (d) memory window dependent part [bin] displays the current window in binary. [oct] displays the current window in octal. [dec] displays the current window in decimal. [hex] displays the current window in hexadecimal (default). [nibble] displays data in 4-bit units. [byte] displays data in 8-bit units (default). [word] displays data in 16-bit units. [double word] displays data in 32-bit units. [ascii] turns on/off display of ascii characters. no check mark (? ?): not displayed. check mark (? ?): displayed (default). [little endian] displays words and double words in little endian. [big endian] displays words and double words in big endian. (e) watch window dependent part [bin] the selected item is displayed in binary. [oct] the selected item is displayed in octal. [dec] the selected item is displayed in decimal. [hex] the selected item is displayed in hexadecimal. [string] the selected item is displayed as a character string. [proper] the selected item is displayed as the standard value for each variable. in the case of symbols, they are displayed in accordance with the settings in the debugger option dialog box (default). [byte] the selected item is displayed in 8-bit units. [word] the selected item is displayed in 16-bit units. [general] note the selected item is displayed in 20-bit units. [double word] the selected item is displayed in 32-bit units. note supported only in the id78k4 (-ns)
chapter 6 window reference user ? s manual u15185ej1v0um 73 [adaptive] the selected item is displayed as standard values for each variable. in the case of c language symbols, only this item is valid. in the case of assembler symbols, they are displayed in accordance with the settings in the debugger option dialog box. [up] the selected data is moved 1 line up. [down] the selected data is moved 1 line down. [compulsion read] the data in the sfrs, where reading is prohibited because the values will change if they are read, the i/o ports added in the add i/o port dialog box, and the i/o protected areas is subjected to compulsory reading. [create break event >] creates an access event for the variable being watched. [break when access to this variable] creates a read/write event for a specified variable. [break when write to this variable] creates a write event for a specified variable. [break when read from this variable] creates a read event for a specified variable. (f) register window dependent part [bin] displayed in binary. [oct] displayed in octal. [dec] displayed in decimal. [hex] displayed in hexadecimal (default). [absolute name] displays register names as absolute names. [function name] displays register names as function names (default).
chapter 6 window reference user ? s manual u15185ej1v0um 74 (g) sfr window dependent part [bin] displayed in binary. [oct] displayed in octal. [dec] displayed in decimal. [hex] displayed in hexadecimal (default). [sort by name] displayed in alphabetical order. [sort by address] displayed in address order (default). [unsort] not sorted. [attribute] selects whether to display or not to display the attribute field. no check mark ( ? ? ): not displayed. check mark ( ? ? ): displayed (default). [pick up] only the sfr selected in the sfr select dialog box is displayed. no check mark ( ? ? ): all are displayed (default). check mark ( ? ? ): the selected register only is displayed. [select ? ] opens the sfr select dialog box. [compulsion read] the data in the sfrs, where reading is prohibited because the values will change if they are read, the i/o ports added in the add i/o port dialog box, and the i/o protected areas is subjected to compulsory reading. (h) local variable window dependent part, stack window dependent part [bin] displayed in binary. [oct] displayed in octal. [dec] displayed in decimal. [hex] displayed in hexadecimal. [string] displayed as a character string. [proper] displayed as the standard value for each variable (default).
chapter 6 window reference user ? s manual u15185ej1v0um 75 (i) trace view window dependent part [select ? ] selects the content of the display. opens the trace data select dialog box. [pick up >] performs pick up display settings. [off] pick up display is not performed (default). [search] picks up the frames which match the search conditions and displays them. [snap] note 1 picks up snap frames and displays them. [brm1] picks up the first m1 fetch frame after a program branch and displays it (brm1 cannot be set in this version). [mix] switches between mixed display or no mixed display of sources. no check mark ( ? ? ): no mixed display (default). check mark ( ? ? ): mixed display. [window synchronize >] this links together the trace view window and source window, assemble window, memory window and coverage window. [source text] selects whether the source window will be linked or not linked. no check mark ( ? ? ): not linked (default). check mark ( ? ? ): linked. [assemble] selects whether the assemble window will be linked or not linked. no check mark ( ? ? ): not linked (default). check mark ( ? ? ): linked. [memory] selects whether the memory window will be linked or not linked. no check mark ( ? ? ): not linked (default). check mark ( ? ? ): linked. [coverage] note 2 selects whether the coverage window will be linked or not linked. no check mark ( ? ? ): not linked (default). check mark ( ? ? ): linked. (j) coverage window dependent part note 2 [1 byte] displays in 1-byte units (default). [64 bytes] displays in 64-byte units. [1024 bytes] note 3 displays in 1,024-byte units. notes 1. not supported in the id78k4-ns 2. this is displayed when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns- a or ie-78k0s-ns-a is used, or when the ie-784000-r is used. 3. supported only in the id78k4
chapter 6 window reference user ? s manual u15185ej1v0um 76 (k) event manager dependent part [select all event] selects all the events entered in the event manager. [delete event] deletes the selected event. [sort by name] displays the icons sorted by event name. [sort by kind] displays the icons sorted by event type. [unsort] icons are not sorted (default). [detail] displays details. [overview] displays a list. (4) option figure 6-8. option menu bar file edit option help _ _ _ _ tool bar _ button _ view _ run _ event _ browse _ jump _ window _ source mode _ instruction mode _ auto mode configuration... _ mask option... _ extended option... _ debugger option... add i/o port... _ trace clear _ _ _ status bar _ coverage _ coverage on _ timer on _ clear... _ condition... _ efficiency... _ [tool bar] selects whether the toolbar is displayed or not. no check mark ( ? ? ): not displayed. check mark ( ? ? ): displayed (default). [status bar] selects whether the status bar is displayed or not. no check mark ( ? ? ): not displayed. check mark ( ? ? ): displayed (default). [button] selects whether the function buttons on each window are displayed or not. no check mark ( ? ? ): not displayed. check mark ( ? ? ): displayed (default).
chapter 6 window reference user ? s manual u15185ej1v0um 77 [source mode] performs step execution at the source level (line units). [instruction mode] performs step execution at the instruction level (instruction units). [auto mode] switches automatically between source level step execution and instruction level step execution, and executes step execution (default). when the source window is active, source level step execution (except in the mixed display mode) or instruction level step execution (in the mixed display mode) is performed, and when the assemble window is active, instruction level step execution is performed. when neither window is active, source level step execution is performed. [configuration ? ] sets the environment. opens the configuration dialog box. [mask option...] note 1 specifies the mask option for the device and sets the mode of each pin. opens the mask option dialog box. [extended option ? ] sets the extended functions. opens the extended option dialog box. [debugger option ? ] sets the debugger. opens the debugger option dialog box. [add i/o port ? ] adds a user-defined i/o port. opens the add i/o port dialog box. [trace clear] clears the trace data. displays the trace view window if it is active. [coverage >] note 2 opens the coverage-measurement related dialog boxes. [clear ? ] note 2 initializes the coverage measurement results. opens the coverage-clear dialog box. [condition ? ] note 2 sets the coverage efficiency measurement conditions. opens the coverage-condition setting dialog box. [efficiency ? ] note 2 displays the coverage efficiency results. opens the coverage-efficiency view dialog box. [coverage on] note 2 selects whether coverage measurement is turned on or off. during emulation, this setting cannot be changed. no check mark ( ? ? ): coverage measurement is not performed. check mark ( ? ? ): coverage measurement is performed (default). [timer on] note 3 selects whether the timer measurement is turned on or off. during emulation, this setting cannot be changed. no check mark ( ? ? ): timer measurement is not performed. check mark ( ? ? ): timer measurement is performed (default). note that run-break event timer measurement cannot be stopped. notes 1. supported only in the id78k0 (-ns) 2. this is displayed when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns-a or ie-78k0s-ns-a is used, or when the ie-784000-r is used. 3. not supported in the id78k4-ns
chapter 6 window reference user ? s manual u15185ej1v0um 78 (5) run figure 6-9. run menu bar file edit option help _ _ _ _ restart _ stop _ coverage start _ view _ run _ event _ browse _ jump _ window _ go ignore break points and go _ _ return out _ step in next over _ start from here _ come here go & go _ slowmotion _ _ timer start _ _ cpu reset _ change pc break point software break point _ delete all software break _ _ _ uncond. trace on _ cond. trace on _ tracer start _ [restart] executes the program after resetting the emulation cpu. performs the same operation as the button. [stop] forcibly stops execution of the program. performs the same operation as the button. [go] executes the program without resetting the cpu. performs the same operation as the button. [ignore break points and go] this button executes the program, ignoring the set break points. performs the same operation as the button. [return out] executes the program in real time until execution returns to the calling function. performs the same operation as the button. [step in] performs step execution. performs the same operation as the button. in the source mode, the program is executed in line units, and in the instruction mode, it is executed in instruction units. [next over] performs next step execution. performs the same operation as the button. executes the program, regarding a function or subroutine statement as 1 step. in the source mode, the program is executed in line units, and in the instruction mode, it is executed in instruction units. [start from here] executes the program from the cursor position of the source window or assemble window.
chapter 6 window reference user ? s manual u15185ej1v0um 79 [come here] executes the program until the cursor position of the source window or assemble window. [go & go] continues execution of the program. if a break occurs because a break condition is satisfied, it updates the window and then executes the user program again. performs the same operation as clicking the button each time a break occurs. [slowmotion] continues step execution of the program. after updating the window for each step execution, it performs step execution again. performs the same operation as clocking the button each time step execution is performed. [cpu reset] resets the emulation cpu. performs the same operation as the button. [change pc] sets the address at the cursor position of the source window or assemble window to the pc. [break point] sets/cancels a breakpoint at the cursor position of the source window or assemble window. [software break point] sets/cancels a software breakpoint at the cursor position of the source window or assemble window. [delete all software break] cancels all software breakpoints that are set. [uncond. trace on] validates the unconditional trace function. always traces while the user program is being executed (default). when the tracer is started, the trace mode cannot be changed. [cond. trace on] validates the trace function. traces while the user program is being executed according to a trace condition. when the tracer is started, the trace mode cannot be changed. [coverage start or coverage stop] note when coverage measurement is stopped, this starts it. when coverage measurement is being performed, this stops it. the display definitions are as follows. ? coverage start ? : measurement is stopped. if selected, measurement will be started. ? coverage stop ? : measurement is in progress. if selected, measurement will be stopped. if there is currently no emulation, and if coverage measurement is off (no ? ? mark next to the [option]
chapter 6 window reference user ? s manual u15185ej1v0um 80 [timer start or timer stop] when timer measurement is stopped, this starts it. when timer measurement is being performed, this stops it. the display definitions are as follows. ? timer start ? : measurement is stopped. if selected, measurement will be started. ? timer stop ? : measurement is in progress. if selected, measurement will be stopped. if there is currently no emulation, and if timer events are not used (no ? ? mark next to the [ignore break point] ? tracer start ? : measurement is stopped. if selected, measurement will be started. ? tracer stop ? : measurement is in progress. if selected, measurement will be stopped. this button is invalid (displayed in gray) while emulation is not in progress and when a command other than [ignore break points and go] or the button is selected. tracer measurement starts operating immediately after the tracer has been turned on and emulation is started. (6) event figure 6-10. event menu bar file edit option help _ _ _ _ event manager _ event... _ view _ run _ event _ browse _ jump _ window _ event link... _ break... _ trace... snap shot... _ stub... _ timer... _ dmm... pass count... _ delay count... _ _ _ software break manager _
chapter 6 window reference user ? s manual u15185ej1v0um 81 [event manager] manages each type of event condition. opens the event manager. operates the same as the button. [software break manager] note 1 switches enable/disable and cancels software break. opens the software break manager. [event ? ] enters event conditions. opens the event dialog box. operates the same as the button. [event link ? ] enters event link conditions. opens the event link dialog box. [break ? ] enters and sets break conditions. opens the break dialog box. operates the same as the button. [trace ? ] enters and sets trace event conditions. opens the trace dialog box. operates the same as the button. [snap shot ? ] note 2 enters and sets snap event conditions. opens the snap shot dialog box. [stub] note 3 enters and sets stub event conditions. opens the stub dialog box. [timer ? ] enters and sets timer event conditions and displays the measurement results. opens the timer dialog box. the id78k4-ns displays the section timer measurement result. operates the same as the button. [dmm...] note 4 opens the dmm dialog box. [pass count...] note 5 sets the pass count and displays the pass count value. opens the pass count dialog box. [delay count...] sets the delay count and displays the delay count value. opens the delay count dialog box. notes 1. this is displayed when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns-a or ie-78k0s-ns-a is used, or when the ie-78k4-ns or ie-784000-r is used. 2. not supported in the id78k4-ns 3. supported only in the id78k4 4. these functions are valid only when the ie-78k0-ns-pa is installed in the ie-78k0-ns or the ie-78k0- ns-a/ie-78k0s-ns-a is used. 5. supported only in the id78k0 (-ns)
chapter 6 window reference user ? s manual u15185ej1v0um 82 (7) browse figure 6-11. browse menu bar file edit option help _ _ _ _ source text _ assemble _ view _ run _ event _ browse _ jump _ window _ memory _ watch _ register sfr _ local variable _ stack trace trace _ coverage _ console _ others _ _ _ [source text] displays the source text. opens the source window. performs the same operation as the button. if a window exists that is already in the active state, it opens the window in the static state. [assemble] disassembles and displays the user program. opens the assemble window. performs the same operation as the button. if a window exists that is already in the active state, it opens the window in the static state. [memory] displays the memory contents. opens the memory window. performs the same operation as the button. if a window exists that is already in the active state, it opens the window in the static state. [watch] displays the watch contents (variable and other data). opens the watch window. performs the same operation as the button. [register] displays the register contents. opens the register window. performs the same operation as the button. [sfr] displays the contents of the sfrs. opens the sfr window. performs the same operation as the button. [local variable] displays the local variable. opens the local variable window. performs the same operation as the button. [stack trace] displays the stack contents. opens the stack window. performs the same operation as the button. [trace] displays the result of a trace. opens the trace view window. performs the same operation as the button.
chapter 6 window reference user ? s manual u15185ej1v0um 83 [coverage] note displays the result of coverage measurement. opens the coverage window. performs the same operation as the button. if a window exists that is already in the active state, it opens the window in the static state. [console] opens the console window. [others] opens another window. [expansion window] adds the name of a user-defined window. when this is selected, the window is opened. note this is displayed when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns-a or ie- 78k0s-ns-a is used, or when the ie-784000-r is used. (8) jump figure 6-12. jump menu bar file edit option help __ _ _ sourcetext _ assemble _ view _ run _ event _ browse _ jump _ window _ memory _ coverage _ [sourcetext] sets the data selected in the current window as the jump address, and displays the source text and source line starting from that address. no jump can be performed if the jump address contains no line information. opens the source window. if the source window is being displayed in the active state, that window is displayed on the front plane (operation object). [assemble] sets the data selected in the current window as the jump address, and displays the disassembled text starting from that address. opens the assemble window. if the assemble window is being displayed in the active state, that window is displayed on the front plane (operation object). [memory] sets the data selected in the current window as the jump address, and displays the memory contents starting from that address. opens the memory window. if the memory window is being displayed in the active state, that window is displayed on the front plane (operation object).
chapter 6 window reference user ? s manual u15185ej1v0um 84 [coverage] note sets the data selected in the current window as the jump address, and displays the coverage measurement results from that window. opens the coverage window. if the coverage window is being displayed in the active state, that window is displayed on the front plane (operation object). note this is displayed when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns-a or ie- 78k0s-ns-a is used, or when the ie-784000-r is used. (9) window figure 6-13. window menu bar file edit option help _ _ _ _ new window _ cascade _ view _ run _ event _ browse _ jump _ window _ tile _ arrange icons _ close all refresh _ active _ static _ _ [new window] opens a new window displaying the same contents as the current window. this is valid only in cases where the current window is the source window, assemble window, memory window or coverage window. [cascade] cascades the windows in the main window. [tile] tiles the windows in the main window. [arrange icons] rearranges the icons in the main window. [close all] closes all the windows except the main window. [refresh] updates the contents of the window with the latest data. [active] switches the window to the active state. if it is currently in the active state, a check mark is entered on the left of this item. [static] switches the window to the static state. if it is currently in the static state, a check mark is entered on the left of this item. [open window] lists the opened windows. the window with a check mark added at the side of the number is the current window. the window selected by selecting a window name is displayed as the current window.
chapter 6 window reference user ? s manual u15185ej1v0um 85 (10) help figure 6-14. help menu bar file edit option help _ _ _ _ help topics _ main window help _ view _ run _ event _ browse _ jump _ window _ current weindow help _ about... _ [help topics] displays the table of contents of the help window. [main window help] displays the help for the main window. [current window help] displays the help for the current window. [about ? ] displays the version of the debugger.
chapter 6 window reference user ? s manual u15185ej1v0um 86 configuration dialog box general displays and sets the operating environment of the in-circuit emulator. this dialog box is displayed automatically after the debugger is started. to use the debugger, the operating environment of the in-circuit emulator must be set first in this dialog box. when a project file is read, however, it doesn ? t need to be set. the result of reading the project file is reflected in the configuration dialog box. opening method this dialog box can be opened by one of the following methods. ? ?
chapter 6 window reference user ? s manual u15185ej1v0um 87 function the configuration dialog box consists of the following areas. ? ? ? ? ? ? ? ? ?
chapter 6 window reference user?s manual u15185ej1v0um 88 sizes that can be set are as follows. internal rom size internal ram size size part number alignment (kb) set range (kb) alignment (bytes) set range (bytes) 78k/0 series (id78k0 (-ns)) 4 0 to 64 78k/0s series (id78k0s-ns) 2 0 to 8, 12 to 64 64 64 to 1,024 78k/iv series (id78k4 (-ns)) 8 0 to 1,024 (3) location setting area (id78k4 (-ns) only) this area sets a location. two types, 00h and 0fh, can be set. select a location in accordance with the environment used. if a location instruction that differs from this setting is executed, a relocation break occurs. if a load module file is loaded, the location is automatically re-set in accordance with the location information in the load module file. (4) information display area (id78k4-ns only) this area displays the execution status of the emulation memory and trace memory. it is not displayed when the program is started. it is displayed after the debugger is started or when the configuration dialog box is opened by selecting a menu. ? (mem): number of bytes of emulation memory ? (trc): if this is on, trace memory is mounted; if it is off, the trace memory is not mounted.
chapter 6 window reference user ? s manual u15185ej1v0um 89 (5) cpu clock source select area this area selects the clock source to be input to the emulation cpu. select one of the following. ? ? ? ? ? ?
chapter 6 window reference user ? s manual u15185ej1v0um 90 (8) mask setting area this area specifies a mask for the signal sent from the target. the signal of the masked pin cannot be input to the in-circuit emulator. mask pins only when the operation of the target is unstable at the debugging stage. in models other than the id78k4, only the reset pin can mask signals. in the id78k4, nmi, wait, hldrq, and stop can also be selected. (9) mapping setting area this area specifies the mapping attribute and address, and sets mapping. (a) mapping attribute specification the following types of mapping attributes can be selected. select a suitable attribute. note, however, that emulation rom, emulation ram, target, and i/o protect cannot be selected for devices without external space and id78k0s-ns. memory attribute ? ? ? ? ?
chapter 6 window reference user ? s manual u15185ej1v0um 91 (b) mapping address specification mapping address: specify the address to be mapped. input the mapping-start address and the mapping-end address from the keyboard. (c) setting of memory mapping ? ?
chapter 6 window reference user ? s manual u15185ej1v0um 92 bank set dialog box (id78k0 (-ns) only) general sets the memory bank. note, however, that the memory bank does not need to be set when reading the project file. the contents of the project file read are reflected in the bank set dialog box. opening method this dialog box can be opened by the following method. ? ? memory bank ? in the memory bank area, then click the bank set button. window figure 6-16. bank set dialog box (1) bank access port setting area (2) bank address setting area (3) bank address display unit setting area (4) external sense clip select area (5) sfr setting area (1) (2) (3) (4) (5)
chapter 6 window reference user ? s manual u15185ej1v0um 93 function the bank set dialog box consists of the following areas. ? ? ? ? ?
chapter 6 window reference user ? s manual u15185ej1v0um 94 when checking ? debugger use ? to use the external sense clip, ports correspond to external sense clips as follows. bank port bit external sense clip no. bit 7 no. 8 bit 6 no. 7 bit 5 no. 6 bit 4 no. 5 bit 3 no. 4 bit 2 no. 3 bit 1 no. 2 bit 0 no. 1 (5) sfr setting area this area sets the access ports, memory expansion mode, and external bus type selection registers for memory bank access. the sfrs that need to be specified are shown below. setting description remarks pxx specify the port used to access the memory bank. specify in the access port setting area. pmxx specify when the port for memory bank access is set as an output port. this is set automatically by the debugger. mm set the external expansion area and number of waits. ? ebtso set the external bus type. ? function buttons sets the specified memory bank and closes the bank set dialog box. closes the bank set dialog box. restores the input data. opens the help window.
chapter 6 window reference user ? s manual u15185ej1v0um 95 mask option dialog box (id78k0 (-ns), id78k0s-ns) general sets the mask option. note, however, that the mask option does not need to be set when reading the project file. the contents of the project file read are reflected in the mask option dialog box. opening method this dialog box can be opened by either of the following methods. ?
chapter 6 window reference user ? s manual u15185ej1v0um 96 function the mask option dialog box consists of the following areas. ? ?
chapter 6 window reference user ? s manual u15185ej1v0um 97 extended option dialog box general displays and sets the various extended options of the debugger. opening method this dialog box can be opened by either of the following methods. ?
chapter 6 window reference user ? s manual u15185ej1v0um 98 figure 6-18. extended option dialog box (2/2) id78k0 id78k4-ns id78k4 (3) real-time internal ram sampling time setting area (5) flash self mode setting area (6) default break select area (7) beep sound specification area (8) memory bank setting area (9) software break setting area (10) pseudo real-time ram monitor setting area (11) real-time ram sampling range setting area (12) verify specification area (7) (3) (9) (8) (7) (5) (6) (12) (3) (11) (10) (9) (6) (7)
chapter 6 window reference user ? s manual u15185ej1v0um 99 function the extended option dialog box consists of the following areas. ? ? ? ? ? ? ? ? ? ? ? ?
chapter 6 window reference user ? s manual u15185ej1v0um 100 (2) time tag total specification area note if this check box is checked, the trace data time tags will be totaled. the default is an unchecked box, and therefore no totaling of time tags. note this is valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns or when the ie-78k0-ns-a or ie- 78k0s-ns-a is used. (3) real-time internal ram sampling time setting area note this area specifies the sampling time (ms) of the real-time internal ram sampling. during emulation, the range specified in the real-time internal ram sampling range setting area can be sampled in real time. variables, data, etc. allocated to this range can be viewed in real time in the watch window and the memory window. sampling time can be specified from 0 to 65,500 in 100 ms units. real-time display is not performed if the sampling time is set at 0 or is left blank. note this is valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns or when the ie-78k0-ns-a or ie- 78k0s-ns-a is used. (4) real-time internal ram sampling range setting area (ID78K0-NS only) this area specifies the range of the real-time internal ram sampling. variables, data, etc. allocated to this range can be viewed in real time in the watch window and the memory window. the addresses can be specified in arbitrary 2 kb units. (5) flash self mode setting area (ID78K0-NS only) this area sets the flash self mode. the default setting for this area is "off" (i.e. not flash self mode).
chapter 6 window reference user ? s manual u15185ej1v0um 101 (6) default break select area whether to make the breakpoint setting a software break or a hardware break can be selected by clicking the mouse in the source window or assemble window. ? ?
chapter 6 window reference user ? s manual u15185ej1v0um 102 (11) real-time ram sampling range setting area this area specifies the address range in which real-time ram sampling is executed. variables, data, etc. allocated to this range can be viewed in real-time in the variable window and the memory window. ? ?
chapter 6 window reference user?s manual u15185ej1v0um 103 debugger option dialog box general displays and sets each type of extended option in the debugger. opening method this dialog box can be opened by either of the following methods. ? in the main window select [option] [d ebugger option?] from the menu bar. press the grph + o , and d keys in that order. window figure 6-19. debugger option dialog box (1) source path specification area (2) default source specification area (3) default load module specification area (4) open file history setting area (5) display font setting area (6) project file setting area (7) toolbar display button setting area (8) kanji code setting area (9) tab size setting area (10) startup symbol setting area (11)offset display setting area (12)register name display select area (13)watch symbol setting area (1) (2) (3) (4) (5) (6) (7) (9) (10) (11) (13) (12) (8)
chapter 6 window reference user?s manual u15185ej1v0um 104 function the debugger option dialog box consists of the following areas. ? source path specification area ? default source specification area ? default load module specification area ? open file history setting area ? tab size setting area ? project file setting area ? toolbar display button setting area ? kanji code setting area ? display font setting area ? startup symbol setting area ? offset display setting area ? register name display select area ? watch symbol setting area the function of each area is explained below. (1) source path specification area this area specifies the directory in which the source file or text files will be searched for. the path is specified by inputting it from the keyboard or by using the button. when the button is clicked, the browse dialog box is displayed and the source path can be added. a relative path can also be specified. the directory that is the reference for the relative path is displayed to the right of ?base:?. the reference directory is decided using the following procedure. ? the directory from which the project files were loaded. ? the directory from which the latest load module or hex file was loaded. ? windows current directory. delimiters in path information are specified by ? ? (blank), ?;? (semi-colon), or ?,? (comma). japanese characters can be specified in the source path (japanese version only). example if the source is located in the following directory, b:\src c:\asm the source path specification becomes as follows. b:\src;c:\asm
chapter 6 window reference user?s manual u15185ej1v0um 105 (2) default source specification area when [file] [o pen...] is selected and the browse dialog box is opened, the file extension of the displayed source file is set in this area. file extension delimiters are specified by ? ? (blank), ?;? (semi-colon), or ?,? (comma). (3) default load module specification area this area sets the file extension of the load module displayed when the download dialog box is opened. file extension delimiters are specified by ? ? (blank), ?;? (semi-colon), or ?,? (comma). (4) open file history setting area this area sets the number of items in the history displayed at the bottom of the [file] menu. the number of items that can be set range from 0 to 10. when 0 is set, the history is not displayed on the menu. the default is 4. (5) display font setting area this area specifies the display font in the source window. if the button is clicked, the font dialog box opens and the display font can be selected.
chapter 6 window reference user?s manual u15185ej1v0um 106 (6) project file setting area this area sets the project file auto save and auto load. (a) project file auto save selection can be made from among the following items. auto save: on: performs project file auto save when closing. off: does not perform project file auto save when closing. query: displays the exit debugger dialog box when closing (default). (b) project file auto load selection can be made from among the following items. auto load: on: performs project file auto load when starting. off: does not perform project file auto load when starting (default). (c) auto load project file settings specifies the project file to be loaded during auto load. this can be specified when ?auto load? has been turned ?on.? when it is turned ?off,? the specification column becomes inactive (dimmed). load project file: input the project file name from the keyboard or set it by clicking the button. if the button is clicked, the browse dialog box is displayed. (7) toolbar display button setting area this area sets the toolbar display buttons. the display buttons can be selected from among the following items. pictures only: displays buttons which show only graphics (default). pictures and text: displays buttons which show both graphics and text.
chapter 6 window reference user?s manual u15185ej1v0um 107 (8) kanji code setting area this area specifies the kanji code of the files displayed in the source window or trace view window. kanji code can be selected from the following. sjis: sjis is used for the kanji code (default). euc: euc is used for the kanji code. the kanji code is valid only for japanese windows. (9) tab size setting area this area sets the tab size for each file extension when displaying files with that file extension. (a) file extension setting set the file extension. extension: setting of the file extension can be done by inputting it from the keyboard or by selecting from the drop-down list. (b) tab size selection the following tab sizes can be selected. tab size: 2: displays the tab code with 2 spaces. 4: displays the tab code with 4 spaces. 8: displays the tab code with 8 spaces.
chapter 6 window reference user?s manual u15185ej1v0um 108 (c) setting tab size for each file extension tab list: displays a list of the file extensions and tab sizes. ? if a tab size setting is added, and if a tab size is changed, set it by ?extension? and ?tab size?, then click the button. ? to delete a tab size setting, select the file extension setting in the ?tab list,? then click the button. the currently selected file extension setting is deleted. (10) startup symbol setting area this area specifies the beginning symbol (begin label), the end symbol (end label), and display start symbol (main() label) of the startup routine. if it is left blank, the debugger option dialog box cannot be closed. the default is as follows. begin label: _@cstart end label: _@cend main() label: _main (11) offset display setting area this area sets whether there will be an offset display (symbol + offset) during disassemble display. if there is no offset display, a symbol is displayed only when there is a symbol that matches the numerical value, and when there is not a matching symbol, the numerical value is displayed as is in hex notation. the areas where the offset display can be specified are of the following two types. label: sets whether or not there will be an offset display in the label column. the default is no offset display. mnemonic: sets whether or not there will be offset display in the mnemonic column. the default is offset display.
chapter 6 window reference user?s manual u15185ej1v0um 109 (12) register name display selection area this area selects the display method of the register name in the mnemonic during disassemble display. the display method can be selected from the following two methods. function name: displays the register name as a function name or alias (default). absolute name: displays the register name as an absolute name. (13) watch symbol setting area this area specifies the watch symbol. (a) default size set the display size of data specified as ?adaptive? in the watch window, etc. the size displayed can be selected from among the following items. size: byte: displays data in 8 bits (default). word: displays data in 16 bits. double word: displays data in 32 bits. (b) default radix set the display radix of data specified as ?proper? in the watch window, etc. the display radix can be selected from among the following items. radix: bin: displayed in binary. oct: displayed in octal. dec: displayed in decimal. hex: displayed in hexadecimal (default). string: displayed as a character string.
chapter 6 window reference user?s manual u15185ej1v0um 110 (c) variable type display on/off set the variable type display on/off. show variable type: on: displays variable types. off: does not display variable types (default). (d) variable display format c: displays in c language format. asm: displays in assembly format. function buttons after activating each type of option in the set debugger, the dialog box is closed. each of the options set in the debugger on this occasion are made inactive and the dialog box is closed. returns to the environment setting state existing before the debugger option dialog box was opened. opens the help window for the debugger option dialog box.
chapter 6 window reference user?s manual u15185ej1v0um 111 font dialog box general selects the display font for the source window and sets the font size. opening method this dialog box can be opened by the following method. ? click the button in the debugger option dialog box. window figure 6-20. font dialog box function the font dialog box consists of the following areas. ? font name specification area ? font size specification area ? sample display area the function of each area is explained below. (1) font name specification area (3) sample display area (2) font size specification area
chapter 6 window reference user?s manual u15185ej1v0um 112 (1) font name specification area this area selects the specified font from among the currently usable fonts. fixed-width fonts (fonts with a constant stroke width and fixed-pitch fonts) only are listed. when the font name is selected from the list, the font name is displayed in the edit box and the font sizes with which that font can be used are displayed in the font size specification area. it is also possible to type the font name directly in the edit box using the keyboard. (2) font size specification area the usable sizes of the font specified in the font name specification area are listed in point units in this area. when selecting the font size from the list, the size is displayed in the edit box. it is also possible to type the font size directly in the edit box using the keyboard. (3) sample display area this area displays sample character string showing the specified font and font size.
chapter 6 window reference user?s manual u15185ej1v0um 113 function buttons changes the font in the source window to the specified font face and font size and closes the dialog box. closes the dialog box without changing the font.
chapter 6 window reference user?s manual u15185ej1v0um 114 project file load dialog box general restores previous debugging environments. the size of the window and the position of the environments in the window are also restored following the project file load. opening method this dialog box can be opened by one of the following methods. ? in the main window select [file] [proj ect ] [o pen project ] from the menu bar. press the grph + f , j , and o keys in that order. ? click the button on the toolbar. window figure 6-21. project file load dialog box (3) file type select area (2) file name select area (1) file location select area
chapter 6 window reference user?s manual u15185ej1v0um 115 function loads project files. this dialog box consists of the following areas. ? file location select area ? file name select area ? file type select area the function of each area is explained below. (1) file location select area this area selects the drive or directory. (2) file name select area this area specifies the file name. the file name can be input from the keyboard or it can be selected from the list in the top column of the area. (3) file type select area this area displays the types of files displayed in the list. project (*.prj) files are displayed. loaded contents the items from each window shown in the following table are loaded in the project file. however, if the files are loaded after the debugger is started, when a project file with a different target device is loaded, the debugger itself is reset and the project file is loaded (when the target device differs from the target device specified when the debugger was started, the target device becomes the target device specified in the project file). (1/2) window set data configuration dialog box all items (target device, clock source selection, pin mask setting, mapping information) main window display position, toolbar/status bar/button display information, execution mode information, trace on/off information, coverage on/off information download dialog box file information to be downloaded extended option dialog box setting information debugger option dialog box setting information source window display information of window, font information assemble window display information of window, display start address memory window display information of window, display start address stack window display information of window sfr window display information of window local variable window display information of window trace view window display information of window event dialog box display information of window, event information
chapter 6 window reference user?s manual u15185ej1v0um 116 (2/2) window set data event link dialog box display information of window, link event information break dialog box display information of window, break event information trace dialog box display information of window, trace event information snap shot dialog box note 1 display information of window, snap event information timer dialog box note 1 display information of window, timer event information event manager display information of window, event information register window display information of window watch window display information of window, watch entry information coverage window note 1 display information of window dmm dialog box note 2 setting information console window display information of window stub window note 3 display information of window, stub event information notes 1. not supported in the id78k4-ns 2. not supported in the id78k4 (-ns) 3. supported only in the id78k4 caution the substance of the ID78K0-NS or id78k0s-ns project is stored in the xxxx.pri file. when specifying the xxxx.prj file, be sure to place the xxxx.pri in the same directory. the program file of the old version (ver.1.xx or earlier) cannot be read. re-create the project file. function buttons loads the selected file as the project file. closes the dialog box. closes this dialog box without loading the project file. opens the help window.
chapter 6 window reference user?s manual u15185ej1v0um 117 project file save dialog box general a project file is a file that stores debugging environments. when saving debugging environments in a project file, the size of the window and the position of the environments in the window are also saved. opening method this dialog box can be opened by either of the following methods. ? in the main window select [file] [proj ect] [save a s ] from the menu bar. press the grph + f , j , and a keys in that order. if a project file was loaded or saved previously, and to save a file of the same name, do as follows: ? in the main window select [file] [proj ect] [s ave] from the menu bar. press the grph + f , j , and s keys in that order. in this way, a file of the same name as the previously loaded or saved project file can be saved without the project file save dialog box being opened.
chapter 6 window reference user?s manual u15185ej1v0um 118 window figure 6-22. project file save dialog box function saves a new project file or a project file whose name has been changed. this dialog box consists of the following areas. ? save location select area ? file name select area ? file type select area the function of each area is explained below. (1) save location select area this area selects the drive or directory. (2) file name select area this area specifies the file name. the file name can be input from the keyboard or it can be selected from the list in the top column of the area. (3) file type select area this area displays the types of files displayed in the list. project (*.prj) files are displayed. (1) save location select area (2) file name select area (3) file type select area
chapter 6 window reference user?s manual u15185ej1v0um 119 saved contents the items from each window shown in the following table are saved in the project file. window set data configuration dialog box all items (target device, clock source selection, pin mask setting, mapping information) main window display position, toolbar/status bar/button display information, execution mode information, trace on/off information, coverage on/off information download dialog box file information to be downloaded extended option dialog box setting information debugger option dialog box setting information source window display information of window, font information assemble window display information of window, display start address memory window display information of window, display start address stack window display information of window sfr window display information of window local variable window display information of window trace view window display information of window event dialog box display information of window, event information event link dialog box display information of window, link event information break dialog box display information of window, break event information trace dialog box display information of window, trace event information snap shot dialog box note 1 display information of window, snap event information timer dialog box note 1 display information of window, timer event information event manager display information of window, event information register window display information of window watch window display information of window, watch entry information coverage window note 1 display information of window dmm dialog box note 2 setting information console window display information of window stub window note 3 display information of window, stub event information notes 1. not supported in the id78k4-ns 2. not supported in the id78k4 (-ns) 3. supported only in the id78k4 caution although xxxx.prj is specified as the project, the substance of the ID78K0-NS or id78k0s-ns project is stored in the automatically created xxxx.prj file. use the same xxxx.prj as the project manager. note that project files created using v.1.xx or earlier cannot be used.
chapter 6 window reference user?s manual u15185ej1v0um 120 function buttons saves the project information in the selected file. after saving, closes the dialog box. closes this dialog box without saving the project file. opens the help window.
chapter 6 window reference user?s manual u15185ej1v0um 121 view file load dialog box general reads display files, and also reads source files, other text files and event setting files, and opens a window. opening method this dialog box can be opened by one of the following methods. ? in the main window select [file] [o pen] from the menu bar. press the grph + f , and o keys in that order. press shortcut keys ctrl + o . ? click the button on the toolbar. window figure 6-23. view file load dialog box (1) file location select area (2) file name select area (3) file type select area
chapter 6 window reference user?s manual u15185ej1v0um 122 function reads display files, and also reads source files, other text files and event setting files, and opens a window. depending on the file loaded, the window opened and the status differ. ? loading of a source file (files in which symbol information has been written) if a source window exists in the active state, it is opened in the static state. if there is no source window in the active state, a source window in the active state is opened. ? display file or some other text file it is opened as a text format file in a source window in the static state. ? loading of an event setting file the event manager is opened and the event setting contents are returned to the previous environment. this dialog box consists of the following areas. ? file location select area ? file name select area ? file type select area the function of each area is explained below. (1) file location select area this area selects the drive or directory. (2) file name select area this area specifies the file name. the file name can be input from the keyboard or it can be selected from the list in the top column of the area. (3) file type select area this area displays the types of files displayed in the list. note that the type of the file that used in the prior operation is displayed by default, so specify a suitable file extension in this area. the file kinds are as shown below.
chapter 6 window reference user?s manual u15185ej1v0um 123 file type (file extension) meaning source (*.c; *.s; *.asm) note 1 source file text (*.txt) text file source text (*.svw) source window display file assemble (*.dis) assemble window display file memory (*.mem) memory window display file watch (*.wch) watch window display file register (*.rgw) register window display file sfr (*.sfr) sfr window display file local variable (*.loc) local variable window display file stack trace (*.sth) stack window display file trace (*.tvw) trace view window display file coverage (*.cov) note 2 coverage window display file event (*.evn) event setting file all (*.*) all files notes 1. the source file extension (c, s, asm) can be changed in the debugger option dialog box. 2. not supported in the id78k4-ns remark if the conventional variable window display file is used, it can be used as a watch window display file by changing the file extension from var to wch. function buttons loads the selected file. closes this dialog box without loading the display file. opens the help window.
chapter 6 window reference user?s manual u15185ej1v0um 124 view file save dialog box general saves the contents of the current window when the dialog box was opened to a display file or event setting file. opening method this dialog box can be opened by the following method. ? in the main window, make the window to be saved the current window and perform either of the following operations. ? select [file] [save a s ] from the menu bar. ? press the grph + f , and a keys in that order. window figure 6-24. view file save dialog box (1/3) no range (when saved window is local variable window, stack window, sfr window, register window, watch window, or event manager) (1) save location select area (2) file name select area (3) file type select area
chapter 6 window reference user?s manual u15185ej1v0um 125 figure 6-24. view file save dialog box (2/3) address range (when saved window is assemble window, memory window, or coverage window) frame range (when saved window is trace view window) (4) save range setting area (4) save range setting area
chapter 6 window reference user?s manual u15185ej1v0um 126 figure 6-24. view file save dialog box (3/3) line range (when saved window is source window) function saves the contents of the current window in a display file. this dialog box consists of the following areas. ? save location select area ? file name select area ? file type select area ? save range setting area the function of each area is explained below. (1) save location select area this area selects the drive or directory. (2) file name select area this area specifies the file name. the file name can be input from the keyboard or it can be selected from the list in the top column of the area. (3) file type select area this area displays the types of files displayed in the list. (4) save range setting area
chapter 6 window reference user?s manual u15185ej1v0um 127 the file types are as shown below. file type (file extension) current window name source text (*.svm) source window assemble (*.dis) assemble window memory (*.mem) memory window watch (*.wch) watch window register (*.rgw) register window sfr (*.sfr) sfr window local variable (*.loc) local variable window stack trace (*.stk) stack window trace (*.tvw) trace view window coverage (*.cov) note coverage window event (*.evn) event manager note not supported in the id78k4-ns (4) save range setting area this area is displayed only when the current window to be saved is the assemble window, memory window, coverage window, source window, or trace view window. all: specifies that all the area from the first line to the last line be saved. screen shot: this specifies that the entire visible area from the top line to the bottom line of the screen be saved. however, in cases where there is a mixed display with the source window, the area saved is the from the source line included in the visible area of the screen. specify line (in the case of the source window), specify frame (in the case of the trace view window), specify address (in the case of other windows): specify the starting line and end line of the area to be saved. when the starting line and end line are omitted, it is regarded as if the first line/last line were specified. details are as shown below.
chapter 6 window reference user?s manual u15185ej1v0um 128 (a) if current window is assemble window, memory window, or coverage window specify an address range to be saved. addresses can also be specified by symbols or expressions. (the specification method is the same as in the case of the address move dialog box.) the default radix when numbers are input is hexadecimal. if an area with 256 bytes or more is specified, a dialog box indicating the saving status is displayed. to stop saving midway, click the button in this dialog box. (b) if current window is trace view window specify the range of trace frames to be saved. (the specification method is the same as in the case of the trace move dialog box.) the default radix when numbers are input is decimal. if a range of more than 100 frames is specified, a dialog box indicating the saving status is displayed. to stop saving midway, click the button in this dialog box.
chapter 6 window reference user?s manual u15185ej1v0um 129 (c) if current window is source window specify the range by line numbers. the default radix when numbers are input is decimal. when the source window is in the mixed display mode, the mixed display portion in the specified lines is also saved. if a range of more than 100 lines is specified, a dialog box indicating the saving status is displayed. to stop saving midway, click the button in this dialog box. function buttons saves the contents of the current window to the selected file. after that, closes the view file save dialog box. closes the view file save dialog box without saving. opens the help window. caution the stack trace window cannot save an area other than one currently displayed in the window.
chapter 6 window reference user?s manual u15185ej1v0um 130 download dialog box general selects the name and format of a file to be downloaded, and downloads the contents of the target memory or the results of coverage to the in-circuit emulator or target. the files and file formats that can be downloaded are as follows. ? nec load module format (xcoff (.lnk, .lmf)) ? intel hex format file (normal or extended) ? motorola hex format file s type (s0, s2, s3, s7, and s8) ? extended tektronix hex format file ? binary data format file ? results of coverage if a file other than an object file in the load module format is loaded, debugging cannot be executed at the source level. network files must be used after being allocated to network drives. opening method this dialog box can be opened by one of the following methods. ? in the main window select [file] [d ownload ] from the menu bar. press the grph + f , and d keys in that order. ? click the button on the toolbar.
chapter 6 window reference user?s manual u15185ej1v0um 131 window figure 6-25. download dialog box function the download dialog box consists of the following areas. ? file location select area ? file name select area ? file type select area ? offset setting area ? load condition specification area ? reset condition specification area the function of each area is explained below. (1) file location select area this area selects the drive or directory. (1) file location select area (2) file name select area (3) file type select area (5) load condition specification area (6) reset condition specification area (4) offset setting area
chapter 6 window reference user?s manual u15185ej1v0um 132 (2) file name select area this area specifies the file name. the file name can be input from the keyboard or it can be selected from the list in the top column of the area. multiple files can be specified in this area. when specifying multiple file names, place " (quotation marks) on both sides of each file name. it is also possible to specify multiple file names from the top column of the area while pressing the shift key or the ctrl key. (3) file type select area this area displays the types of files displayed in the list. the file types are as shown below. file type (file extension) format load module (*.lnk, *.lmf) load module format hex format (*.hex) hex format (the format is auto-judged) binary data (*.bin) binary data format coverage (*.cvb) coverage results ubrof (*.d26) load module format output by iar's compiler remark the hex format is judged automatically. note that these are the default file extensions; file extensions other than these can also be used. (4) offset setting area this area specifies the offset address when loading the hex format, the binary data format, and the coverage results. address specification can also be made by an expression (except symbols). the specification method is the same as in the case of the address move dialog box. the default radix when inputting numerical values is hexadecimal. offset values are disregarded for load module format files. (5) load condition specification area this area sets the load conditions. symbol: specifies whether the symbol information is read (checked, default) or not. note that this condition is disregarded for files other than those in the load module format. object: specifies whether the object information is read (checked, default) or not.
chapter 6 window reference user?s manual u15185ej1v0um 133 (6) reset condition specification area this area sets the reset conditions. even if a load module is downloaded again, the event set before downloading is not deleted. the event is re- evaluated and is set as a valid event if the event address is valid; otherwise, it is set as an invalid event. delete the unnecessary event by using the event manager. symbol: reset the symbol information (always checked). cpu: specifies whether to reset the emulation cpu or not (checked, default). function buttons loads the selected file and closes dialog box. closes this dialog box without loading the file. opens the help window that explains the download dialog box. returns the input data to its original form.
chapter 6 window reference user?s manual u15185ej1v0um 134 upload dialog box general selects the name and format of the file to be saved, and saves the contents of the target memory or results of coverage in this file. the following files and file formats can be saved. ? intel hex format file (extended only) ? motorola hex format file s type (s0, s2, and s8 only) ? extended tektronix hex format file ? binary data format file ? results of coverage note note not supported in the id78k4-ns opening method the dialog box can be opened by the following methods. ? in the main window select [file] [u pload ] from the menu bar. press the grph + f , and u keys in that order. window figure 6-26. upload dialog box (1) file location select area (2) file name select area (3) file type select area (4) save range setting area
chapter 6 window reference user?s manual u15185ej1v0um 135 function the upload dialog box consists of the following areas. ? file location select area ? file name select area ? file type select area ? save range setting area the function of each area is explained below. (1) file location select area this area selects the drive or directory. (2) file name select area this area specifies the file name. the file name can be input from the keyboard or it can be selected from the list in the top column of the area. (3) file type select area the file types are as shown below. file type (file extension) format intel hex (*.hex) intel extended hex format motorola hex (*.hex) motorola hex format tektro hex (*.hex) extended tektronics hex format binary data (*.bin) binary data format coverage (*.cvb) note coverage results all (*.*) all files note not supported in the id78k4-ns these are the default file extensions; file extensions other than these can also be used. the data format is decided by the file extension in which it is saved. however, if ?all (*.*)? is selected, the file is saved in the default intel extended hex format. (4) save range setting area this area specifies the address range which is to be saved. it is possible to specify the address by symbols or by an expression. the specification method is the same as in the case of the address move dialog box. the default radix when numbers are input is hexadecimal.
chapter 6 window reference user?s manual u15185ej1v0um 136 function buttons saves the specified address range in the selected file and closes the dialog box. closes this dialog box without saving the file. opens the help window that explains the upload dialog box. returns the input data to its original form.
chapter 6 window reference user?s manual u15185ej1v0um 137 browse dialog box general selects the file set in the debugger option dialog box or source search dialog box. opening method this dialog box can be opened by one of the following methods. ? click the button in the debugger option dialog box. ? click the button in the source search dialog box. ? click the button in the source move dialog box. window figure 6-27. browse dialog box (1) file location select area (2) file name select area (3) file type select area
chapter 6 window reference user?s manual u15185ej1v0um 138 function the browse dialog box consists of the following areas. ? file location select area ? file name select area ? file type select area the function of each area is explained below. (1) file location select area this area selects the drive or directory. (2) file name select area this area specifies the file name. the file name can be input from the keyboard or it can be selected from the list in the top column of the area. (3) file type select area this area displays the types of files in the list. the file types are as shown below. file type (file extension) format source (*.c;, *.s; *.asm) source file (the file extension is specified in the debugger option dialog box) text (*.txt) text file all (*.*) all files remark the source (c, s, asm) file extension can be changed in the debugger option dialog box. function buttons sets the selected file and closes the dialog box. closes this dialog box without setting the file. opens the help window that explains the browse dialog box.
chapter 6 window reference user?s manual u15185ej1v0um 139 source move dialog box general specifies the file displayed in the source window and specifies the display start position. opening method this dialog box can be opened by the following methods. ? when the source window is active select [view] [mov e ] from the menu bar. press the grph + v , and v keys in that order. press shortcut keys ctrl + j . window figure 6-28. source move dialog box function this dialog box is displayed when [view] [mov e...] is selected while the source window is open and can be used to change the file?s display start position (a new window does not open). the source move dialog box consists of the following areas. ? input mode select area ? file/address specification area the function of each area is explained below. (1) input mode select area (2) file/address specification area
chapter 6 window reference user?s manual u15185ej1v0um 140 (1) input mode select area this area selects the input mode in cases where the movement destination is specified. { address/symbol: specifies the movement destination by an address (or a symbol). { line/file: specifies the movement destination by a line no. (or file name). (2) file/address specification area this area specifies the display file name or display address. with the default, the string selected in the accessed window, or when there is no selected string, the first character string in the input history, is displayed, but as necessary, it can be changed by inputting from the keyboard. the following two specification methods are used. ? display address specification ? display file name specification by clicking the button and displaying the input history, the contents input previously can be reused. up to 16 items of input history can be retained. (a) display address specification specify the address where the display starts. it is possible to specify the address by symbols or by an expression. the specification method is the same as in the address move dialog box. when ?address/symbol? is selected, the default radix when inputting numerical values becomes hexadecimal. the source text is displayed so that the source line corresponding to the specified address value can be seen. (b) display file name specification specify the name of the file to be displayed in the source window. for the file name, it is possible to specify the file name only and to specify the absolute path or the relative path. if the file name only, or the relative path, is specified, search is made for the file in each of the following directories in the order shown. the first file to be found as a result of the search is displayed. ? the directory which is the source path specified in the debugger option dialog box. the line number can also be specified other than the file name. the file?s line number is specified as follows.
chapter 6 window reference user?s manual u15185ej1v0um 141 ? <file name #> line no. the file name and line number are specified delimited by a ?#?. the line number is specified by a decimal number. the file name can be omitted. when ?line/file? is selected, the default radix when inputting numerical values is decimal. the specified line number is made the header line, and the specified file is displayed. if the file name is omitted, the file is displayed from the specified line of the currently displayed file. when the line number is omitted, the file is displayed from the header line. function buttons opens the browse dialog box. displays the source text from the specified position. closes this dialog box. returns the input data to its original form. opens the help window.
chapter 6 window reference user?s manual u15185ej1v0um 142 address move dialog box general specifies a display start address in the memory window, assemble window, or coverage window. opening method this dialog box can be opened by one of the following methods. (1) when assemble window is displayed ? in the main window select [view] [mov e ] from the menu bar. press the grph + v , and v keys in that order. press shortcut keys ctrl + j . (2) when memory window is displayed ? in the main window select [view] [mov e ] from the menu bar. press the grph + v , and v keys in that order. press shortcut keys ctrl + j . (3) when coverage window is displayed note ? in the main window select [view] [mov e ] from the menu bar. press the grph + v , and v keys in that order. press shortcut keys ctrl + j . note not supported in the id78k4-ns (4) when sfr window is displayed ? in the main window select [view] [mov e?] from the menu bar. press the grph + v , and v keys in that order. press the shortcut keys ctrl + j .
chapter 6 window reference user?s manual u15185ej1v0um 143 window figure 6-29. address move dialog box address move dialog box of assemble window address move dialog box of memory window address move dialog box of coverage window note address move dialog box of sfr window note not supported in the id78k4-ns
chapter 6 window reference user?s manual u15185ej1v0um 144 function the address move dialog box consists of the following area. ? address specification area the function of this area is explained below. (1) address specification area this area specifies an address. the default address is the string selected in the called window, or the value of the current pc. this value can be changed by keyboard input as necessary. an address can also be specified by a symbol or an expression. the specification method is the same as in the case of the symbol to address dialog box, but the default radix when inputting numerical values is hexadecimal. by clicking the button and displaying the input history, the contents input previously can be reused. up to 16 items of input history can be retained. function buttons displays the memory window, assemble window, or coverage window from the specified address. closes this dialog box. returns the input data to its original form. opens the help window.
chapter 6 window reference user?s manual u15185ej1v0um 145 trace move dialog box outline specifies the display start position in the trace view window. opening method this dialog box can be opened by the following methods. ? when the trace view window is active, select [view] [mov e...] from the menu bar. press the grph + v , and v keys in that order. press shortcut keys ctrl + j . window figure 6-30. trace move dialog box function this dialog box is displayed by selecting [view] [mov e...] when the trace view window is open, and can be used to change the trace results display starting position. the trace move dialog box consists of the following areas. ? frame select area ? frame no. specification area the function of each area is explained below. (2) frame no. specification area (1) frame select area
chapter 6 window reference user?s manual u15185ej1v0um 146 (1) frame select area this area selects the frame that is the move destination. selected item description 1st frame of last block move to the first frame of the latest block frame in the trace data. trigger frame of last block move to the latest trigger frame of the latest block frame in the trace data. last frame of last block move to the last frame in the trace data. frame no. move to the frame with the specified no. when 0 is specified, move to the first frame in the trace data. when this item is checked, shift the focus to the area specified by the frame no. (2) frame no. specification area if ?frame no.? is selected in the frame selection area, this area specifies the frame no. in the default, the string selected in the accessed window, or ?last? is displayed, but as necessary, it can be changed by inputting from the keyboard. the default radix when inputting numerical values is decimal. when a ?+? mark is input in front of a numerical value, the area moves forward the specified number of frames (toward the end of the display) from the frame at the cursor position. conversely, when a ??? mark is input in front of the numerical value, the area moves backward the specified number of frames (toward the beginning of the display). the frame no. specification can also be specified in the following format. it is also possible to specify it in abbreviated form. the input characters are not case sensitive. the contents are shown below. specification abbreviated form description first s move to the first frame of the current trace block. trigger t move to the trigger frame of the current trace block. last l move to the last frame of the current trace block. top o move to the first frame of the trace data. bottom b move to the last frame of the trace data. by clicking the button and displaying the input history, the contents input previously can be reused. up to 16 items of input history can be retained.
chapter 6 window reference user?s manual u15185ej1v0um 147 function buttons performs trace display from the specified position. closes the trace move dialog box. returns the input data to its original form. opens the help window.
chapter 6 window reference user?s manual u15185ej1v0um 148 symbol to address dialog box general displays the address of a specified variable or function, and the value of a symbol. opening method this dialog box can be opened by the following methods. select [view] [sy mbol ] from the menu bar. press the grph + v , and y keys in that order. window figure 6-31. symbol to address dialog box function the symbol to address dialog box consists of the following areas. ? symbol specification area ? conversion results display area ? display radix specification area the function of each area is explained below. (1) symbol specification area (1) symbol specification area (2) conversion results display area (3) display radix specification area
chapter 6 window reference user?s manual u15185ej1v0um 149 this area specifies the variable, function name, symbol name, or line number to be converted. other than this, an i/o port name, sfr name, register name, psw flag name, or an expression can be specified. the i/o port name and sfr name are displayed by address values, the register name is displayed by the register contents and the psw flag name is displayed by the flag value. also, bit symbols are converted to ?address.bit?. furthermore, an expression which includes a bit symbol cannot be written. specification methods are shown below. conversion object specification method variable var file#var (if a static function with a file name attached is specified.) func#var (if a static function with a function name attached is specified.) file#func#var (if a static function with a file name and function name attached is specified.) function func file#func (if a static function with a file name attached is specified.) label label file#label (if a local label with a file name attached is specified.) equ symbol equsym file#equsym (if a local equ symbol with a file name attached is specified.) bit symbol bitsym file#bitsym (if a local bit symbol with a file name attached is specified.) line number of source file file#no i/o port portname sfr sfrname register regname psw flag pswname remark var: variable name, func: function, file: file name, label: label name, equsym: equ symbol name, bitsym: bit symbol name, portname: i/o port name, sfrname: sfr name, regname: register name, pswname: psw flag name, no: source file line number. a ?#? (sharp) is used as the delimiter between the file name and the variable, function name, and line no. if the specified symbol could not be found inside the scope, all symbols are searched for (static variable, static function, local label, local equ symbol, and local bit symbol). as the default, the symbol name has priority. furthermore, when desiring to change the priority order temporarily, adding a ?$? (dollar) sign in front of the symbol causes the register name to have priority. if reading multiple load modules, when specifying the load module names, use the delimitor ?$? between the load module name and the file name, variables, function name, and symbol name. in the default, the string selected in the accessed window is displayed, but as necessary, it is possible to change it by inputting from the keyboard. the radix of the default when inputting numerical values is decimal. when changing the contents of the symbol specification area, clicking the button displays the conversion results in the conversion results display area. by clicking the button and displaying the input history, the contents input previously can be reused. up to 16 items of input history can be retained.
chapter 6 window reference user?s manual u15185ej1v0um 150 (2) conversion results display area the variables specified in the symbol specification area, the function address, symbol values, line number addresses and expression values, etc. are displayed in this area. (3) display radix specification area this area specifies the display radix of the conversion results display area. displayed in hexadecimal (default). displayed in decimal. displayed in octal. displayed in binary. function buttons when the contents of the symbol specification area have been changed, the symbols are converted. when the contents of the symbol specification area are unchanged after conversion, the dialog box closes. closes the symbol to address dialog box. returns the input data to the original values. if the button has already been clicked, the data returns to the state it was in just after the button was clicked. opens the help window.
chapter 6 window reference user?s manual u15185ej1v0um 151 source window general this window displays the source file or text file. also, display of disassembly of a program mixed with a source file, and execution of online assembly on a mixed display is possible. there are two modes in the source window, normal display mode and mixed display mode. opening method this window can be opened by the following methods. ? in the main window select [browse] [s ourcetext] from the menu bar. press the grph + b , and s keys in that order. ? click the button on the toolbar. ? in the view file load dialog box, select source file or text file, then click the button. window figure 6-32. source window (1/2) normal display mode
chapter 6 window reference user?s manual u15185ej1v0um 152 figure 6-32. source window (2/2) mixed display mode there are two modes in the source window, normal display mode and mixed display mode. an explanation of each of these modes is given below. refer to (4) source text display area for further details. (a) normal display mode in the normal display mode, general text files as well as source files can be displayed. (b) mixed display mode in the mixed display mode, disassembly of programs combined with source files is displayed. online assembly cannot be performed in the source window. perform online assembly in the assemble window. the display contents in the mixed display mode can be saved as a display file. also, in a source window that displays the source file from which the symbol information is read, there are two states, the active state and the static state. source windows in the active state can only be opened one at a time, whereas multiple windows can be opened at the same time in the static state. switching between states is done via the [window] menu. when switching the state of a window from static to active, the window which was active is switched to static. after being switched to static, the window is displayed with a new number such as source[2]. source files in which symbol information has not been read are read as text format files and their contents are not changed. these two states are described below.
chapter 6 window reference user?s manual u15185ej1v0um 153 (a) active state a source window in the active state is synchronized with the current pc value and the source window?s display is updated continuously so that it is always displaying the current pc line. also, if a source window in the active state is synchronized not only with the jump function?s jump destination but also with the trace view window, the display in the source window is updated in synch with the trace view window. the first source window opened is in the active state. (b) static state a source window in the static state is not synchronized with the current pc value and does not change the display position, but its contents are updated. also, a source window in the static state does not become a jump destination and is not synchronized with the trace view window. if an active source window is already open, a new source window is opened in the static state. function this window displays source files or text files. it also displays disassembled display of programs mixed with source files and can also perform online assembly in a mixed display. the tab size and display font can be specified in the debugger option dialog box. the source window consists of the following areas. ? point mark area ? current pc mark area ? line number/address display area ? source text display area the function of each area is explained below. (1) point mark area this area sets or deletes breakpoints, and displays the set status of each event condition and whether the program code exists or not. (a) breakpoint setting/deletion function by clicking this area with the mouse, a breakpoint can be set or deleted. the necessary mouse operations are as follows depending on the line where mouse is clicked.
chapter 6 window reference user?s manual u15185ej1v0um 154 line setting of ?on mouse click? in extended option dialog box operation soft break sets software breakpoint where blank or marks other than the ?b? mark are displayed (e, l, t mark etc.) hard break sets hardware breakpoint soft break deletes software breakpoint where ?b? mark (blue) is displayed (software breakpoint) hard break sets hardware breakpoint soft break sets software breakpoint where ?b? mark (red, black) is displayed (hardware breakpoint) hard break deletes hardware breakpoint setting and deletion of breakpoints can be performed for lines which have an ?*? displayed in the point mark area. as for lines without an ?*? displayed, setting or deletion can be done on either the line above or below the line where an ?*? is displayed. if a breakpoint is set, the ?b? mark is displayed in the point mark area. however, if a mark other than the ?b? mark is displayed, the ?a? mark is displayed. the ?a? mark shows that multiple events are set. when a hardware breakpoint and a software breakpoint overlap, the ?a? mark is displayed. if a breakpoint is deleted, the ?b? mark in the point mark area is deleted and the area is left blank or a mark other than the ?b? mark is displayed. the ?b? mark is displayed in the following colors in accordance with the type of breakpoint and its state. display color explanation blue shows that a software breakpoint is set. red shows that the set hardware breakpoint is valid. black shows that the set hardware breakpoint is invalid. the hardware breakpoint can be made valid in the event manager or the break dialog box. if a breakpoint is set in the point mark area, it becomes valid as soon as it is set. (b) event condition display function the set status of each event is displayed. if an execution event or access fetch event is set to the corresponding source line, a mark corresponding to the type of event is displayed. mark meaning e shows that an event condition is set l shows that the final stage of an event link is set b shows that a break event is set t shows that a trace event is set ti shows that a timer event is set s shows that a snapshot event is set a shows that two or more events are set m note shows that a dmm event is set note supported only in the id78k0s-ns
chapter 6 window reference user?s manual u15185ej1v0um 155 if a range address is specified as an event?s address condition, the lower address of the range becomes the object. also, the address condition?s mask specification is not reflected. (c) program code display function lines where an ?*? is displayed in the point mark area show that program code corresponding to the line number exists. symbol explanation with ?*? shows that program code corresponding to the source file line no. exists. this is displayed only in cases where the load module is downloaded and symbol information has been read. without ?*? shows that program code corresponding to the source file line no. does not exist. also, if a file other than a source file, such as a text file, is displayed, no lines have ?*? displayed. (2) current pc mark display area this area displays the mark ?>? indicating the value of the current pc (pc register value). by clicking this mark with the mouse, the pc register value is displayed in the pop-up window. the program is executed up to the specified line by double-clicking on the current pc mark area. (3) line number/address display area normal display mode mixed display mode this area displays the line number of the source file or text file. on lines where program code corresponding to the source file line number exists, the line number is displayed in red characters and on lines where no program code exists, the line number characters are displayed in black.
chapter 6 window reference user?s manual u15185ej1v0um 156 also, the disassemble display?s address is displayed in the mixed display mode. address characters are dimmed. the position of the line number/address display area can be selected as desired by clicking the mouse. a selected line number or address is highlighted. the following functions are included in line number or address selection. (a) drag-and-drop function the selected highlighted line number or address can be dragged to another window or area. if the line number or address position selected in the line number/address display area is dragged using the left button of the mouse, the mouse cursor?s shape changes from an arrow to a . if the cursor is moved into a window or area where it is possible to drop it, the shape of the mouse cursor changes form to . the operation is executed for the address determined from the dropped address or line number in the window where it was dropped. the operation after drag-and-drop differs depending on the window or area where the items were dropped. window or area which is the drop object operation after drop ? event manager event manager area in each of the setting dialog boxes below ? event dialog box ? event link dialog box ? break dialog box ? trace dialog box ? snap shot dialog box note 1 ? timer dialog box note 1 with the dropped line number or address as the address condition, the execution event conditions are generated automatically. the event condition names are generated automatically, as evt00001, evt00002, ... the external sense data conditions are not specified. address conditions are set in the form of symbol name + offset value for the symbol which is the closest. ? link condition setting area in the event link dialog box ? break condition setting area in the break dialog box ? section trace start condition area, section trace end condition area, and qualify trace condition area in the trace dialog box ? snapshot condition setting area in the snap shot dialog box note 1 ? stub condition setting area in the stub dialog box note 2 ? timer condition setting area in the timer dialog box note 1 with the dropped line number or address as the address condition, the execution event conditions are generated automatically. furthermore, automatically generated event conditions are set in the condition setting area where they were dropped. the event condition names are generated automatically, as evt00001, evt00002, ... the external sense data conditions are not specified. address conditions are set in the form of symbol name + offset value for the symbol which is the closest. ? address condition setting area and data condition setting area in the event dialog box ? memory snap data setting area in the snap shot dialog box note 1 ? jump destination address setting area in the stub dialog box note 2 the line numbers or the address texts are set in the area where they were dropped. address conditions are set in the form of symbol name + offset value for the symbol which is the closest. notes 1. not supported in the id78k4-ns 2. supported only in the id78k4
chapter 6 window reference user?s manual u15185ej1v0um 157 (b) window link function uses a line number or address to show the linked relationship between the trace view window and the source window. the line number or address which is the link object with the trace view window is highlighted. for details, refer to the window link function under trace view window. (4) source text display area this area performs display and disassembly display of source files and text files and online assembly. the display contents of the source text display area can be scrolled using the vertical and horizontal scroll bars. by selecting [view] [m ix] on the menu bar, the normal display mode and the mixed display mode can be switched. example 1. normal display mode the normal display mode is the mode in which the contents of source files or text files are viewed. 2. mixed display mode the mixed display mode is the mode where disassembly display in combination with source file display is performed. ? if a line of the displayed source file corresponds to program code, the disassemble line is displayed following that source line. in the disassemble line, the address label, code data, and disassembled mnemonic are displayed. ? the mnemonic?s display starting position is adjusted according to the tab size setting value. ? the mixed display mode is valid only in cases where a load module is downloaded and symbol information is read into it, and a source file corresponding to the downloaded load module is displayed.
chapter 6 window reference user?s manual u15185ej1v0um 158 ? even if [view] [m ix] on the menu bar is checked and mixed display mode is selected, in cases where a source file other than one corresponding to a load module is displayed, the display mode is the normal display mode. ? the disassemble display in the mnemonic column displayed in the mixed display mode can be changed. in the case of a change, move the cursor to the mnemonic column of the disassemble display line and change it. the overwrite mode and the insert mode can be switched during editing using the ins key. if the cursor is moved to a different line after making changes in the mnemonic column, the change contents are checked. if the change contents are incorrect, the code data in the line where the change was made becomes an ?*?. even if moved to a different line, the change contents are not written to memory. a different line can be changed with the change contents not written to memory. the changed contents of the mnemonic column are written to memory using the enter key. the change contents are also checked if the enter key is pressed. if the change contents are incorrect, the code data in the incorrect line become an ?*?. if there is even one incorrect line, the change contents are not written to memory. in such a case, correct the change contents. to discard the change contents, press the esc key. if there are no errors in the change contents, press the enter key. after the change contents are written to memory, the cursor moves to the next line?s mnemonic column. the next line can then be changed. the current pc line and the breakpoint setting line are displayed with different display colors and in bold characters. meaning of line display color explanation current pc line yellow this is the source line or the disassemble display line corresponding to the current pc value. it is the line where a ?>? is displayed in the current pc mark area. when there is a mixed display, the display color of the disassemble display line only is changed. the source line is displayed with the normal display color. breakpoint setting line red this is a source line or a disassemble display line where a valid breakpoint is set. it is the line where a red or blue ?b? is displayed in the point mark area. when there is a mixed display, the display color of the disassemble display line only is changed. the source line is displayed with the normal display color. the source text display area has a number of functions, including program execution with the line where the cursor is positioned as the object and setting of the breakpoint. ? start function ? come function ? breakpoint setting function ? program counter setting function ? jump function
chapter 6 window reference user?s manual u15185ej1v0um 159 with these functions, if there is a cursor located on the source text line, the top address of the program code corresponding to the source line becomes the object and if the cursor is located on the disassemble display line, that address becomes the object. also, if no program code exists on the source line, the top address of either the line above or the line below that line, where program code exists, becomes the object. furthermore, these functions cannot be executed in the following cases. the corresponding menu becomes unavailable (dimmed). ? in the case where a file other than a source file is being displayed. ? in the case where a user program is being executed. each function is explained below. (a) start function executes the user program from the line where the cursor is placed. this function is executed by performing the following operations in sequential order. <1> move the cursor to the line where execution is to start. <2> perform one of the following operations in the main window. select [run] [sta rt from here] from the menu bar. press the grph + r , and a keys in that order. press the shortcut keys shift + f6 . (b) come function executes the user program up to the line where a cursor is placed. while the user program is being executed by this function, however, the currently set break event is not generated. this function is executed by performing the following operations in sequential order. <1> move the cursor to the line at which a break is to occur. <2> perform one of the following operations in the main window. select [run] [com e here] from the menu bar. press the grph + r , and m keys in that order. press the shortcut key f6 . (c) breakpoint setting function sets a breakpoint to the line where a cursor is placed. an execution event is used as the breakpoint to be set. this function is executed by performing the following operations in sequential order. <1> move the cursor to the line on which a breakpoint is to be set. <2> perform one of the following operations in the main window. select [run] [b reak point] or [sof tware break point] from the menu bar. press the grph + r , and b keys or grph + r , and f keys in that order. press shortcut key f9 or f11 .
chapter 6 window reference user?s manual u15185ej1v0um 160 (d) program counter setting function sets the address of the line where a cursor is placed to the program counter (pc). this function is executed by performing the following operations in sequential order. <1> move the cursor to the line where the program counter (pc) is to be set. <2> perform one of the following operations in the main window. select [run] [ch ange pc] from the menu bar. press the grph + r , and h keys in that order. press shortcut keys ctrl + f9 . (e) jump function jumps to the assemble window, memory window, or coverage window note by using the address of the line where a cursor is placed as a jump pointer. the jump destination window displays the jump pointer at the beginning. this function is executed by performing the following operations in sequential order. note not supported in the id78k4-ns <1> move the cursor to the line that is the jump origin. <2> perform one of the following operations in the main window. ? if the jump destination is the assemble window select [jump] [a ssemble] from the menu bar. press the grph + j , and a keys in that order. press shortcut keys ctrl + d . ? if the jump destination is the memory window select [jump] [me mory ] from the menu bar. press the grph + j , and e keys in that order. press shortcut keys ctrl + m . ? if the jump destination is the coverage window note select [jump] [c overage] from the menu bar. press the grph + j , and c keys in that order. press shortcut keys ctrl + i . note not supported in the id78k4-ns the text displayed in the source text display area can be selected by the following methods. ? from the desired position in the displayed text, drag the text to the desired position within the range of one line. select the text from the drag start position to the end position. ? double-click on the character string. the words in the double-clicked position are selected. in the source text display area, there are a number of functions which can be performed with the selected text as the object, such as watch and quick watch.
chapter 6 window reference user?s manual u15185ej1v0um 161 (f) watch function adds the selected variables, etc. to the watch window and displays their contents. this function can be run by performing the following operations in order. <1> select the text. <2> perform one of the following operations in the main window. select [view] [vi ew watch] from the menu bar. press the grph + v , and i keys in that order. click the button in the source window. if the assembler symbol was selected, add it to the watch window in accordance with the settings in the debugger option dialog box. apart from the above method, this function can also be run by performing the following operation. <1> select the text. <2> perform one of the following operations in the main window. select [view] [add w atch?] from the menu bar. press the grph + v , and w keys in that order. by performing the above operation, the add watch dialog box is opened and the selected text is added to the watch window. furthermore, if the watch window has not yet been opened, it will be opened. (g) quick watch function this displays the contents of the selected variables, etc. temporarily in the quick watch dialog box. this function is run by performing the following operations in order. <1> select the text. <2> perform one of the following operations in the main window. select [view] [q uick watch?] from the menu bar. press the grph + v , and q keys in that order. press the shortcut keys ctrl + w . click the button in the source window. the quick watch dialog box will open and the contents will be displayed. (h) drag-and-drop function through a drag-and-drop operation, the selected text can be dragged to another window or area and dropped. the operation order is shown below. <1> drag the selected text using the left button of the mouse. the mouse cursor?s shape will change from an arrow to a . <2> if the mouse cursor is moved into a window or area where it is possible to drop it, the shape of the cursor changes form to . operation after drag-and-drop differs depending on the window or area where the items were dropped.
chapter 6 window reference user?s manual u15185ej1v0um 162 window or area which is the drop object operation after drop ? event manager event manager area in each of the setting dialog boxes below ? event dialog box ? event link dialog box ? break dialog box ? trace dialog box ? snap shot dialog box note 1 ? stub dialog box note 2 ? timer dialog box note 1 if it is possible to convert the dropped text to an address value as a symbol, with the converted address value as the address condition, the access status (all-access status) or the execute status event conditions are generated automatically. the event condition names are generated automatically, as evt00001, evt00002, ... the data conditions and external sense data conditions are not specified. the dropped text is set in the address conditions. the relationship between the generated event conditions and the symbols is as follows. symbol status variable r/w function execution symbols in the data section r/w symbols in the code section execution other r/w ? link condition setting area in the event link dialog box ? break condition setting area in the break dialog box ? section trace start condition area, section trace end condition area, and qualify trace condition area in the trace dialog box ? snapshot condition setting area in the snap shot dialog box note 1 ? stub condition setting area in the stub dialog box note 2 ? timer condition setting area in the timer dialog box note 1 if it is possible to convert the dropped text to an address value as a symbol, with the converted address value as the address condition, the access status (all-access status) or the execute status event conditions are generated automatically. furthermore, the automatically generated event conditions are set in each dropped conditions setting area. the event condition names are generated automatically, as evt00001, evt00002, ... the data conditions and external sense data conditions are not specified. the dropped text is set in the address conditions. the relationship between the generated event conditions and the symbols is as follows. symbol status variable r/w function execution symbols in the data section r/w symbols in the code section execution other r/w ? address condition setting area and data condition setting area in the event dialog box ? memory snap data setting area in the snap shot dialog box note 1 ? jump destination address setting area in the stub dialog box note 2 text is set in the dropped area. watch window if the dropped text can be recognized as a symbol, the symbol contents are displayed. notes 1. not supported in the id78k4-ns 2. supported only in the id78k4
chapter 6 window reference user?s manual u15185ej1v0um 163 function buttons opens the source search dialog box and searches for source text character strings. if text is selected in the source text display area, the selected text is set as the search object and the source search dialog box is opened. if text has not been selected, the source search dialog box is opened with the search object in the blank state. the search method is specified in the source search dialog box. the search results are displayed as selected in the source window. performs the same operation as [view] [s earch] on the menu bar. searches for the text that matches the search conditions set in the source search dialog box in the backward direction from the cursor position (toward the top of the display). it changes to a button during a search. searches for the text that matches the search conditions set in the source search dialog box in the forward direction from the cursor position (toward the bottom of the display). it changes to a button during a search. interrupts a search. during a search, the button or the button changes to a button. adds variables and other items selected in the source text display area to the watch window. if the watch window is currently not open, this button opens it. if text is not selected in the source text display area, the watch window is only opened. this button operates the same as [view] [vi ew watch]. displays the selected variables and other contents of the source text display area temporarily in the quick watch dialog box. opens the quick watch dialog box. if text is not selected in the source text display area, the quick watch dialog box is only opened. this button operates the same as [view] [q uick watch]. updates the contents of the window with the latest data. closes this window. caution if program code is described in an include file and if multiple files are included, the 1 to 1 relationship between line numbers and addresses disappears. in such include files, the function which uses the relationship between the line number and the address does not function normally.
chapter 6 window reference user?s manual u15185ej1v0um 164 source search dialog box general searches file contents. opening method this dialog box can be opened by the following methods. ? when the source window is active select [view] [s earch ] from the menu bar. press the grph + v , and s keys in that order. press the shortcut keys ctrl + g . click the button. window figure 6-33. source search dialog box function the source search dialog box consists of the following areas. ? search data specification area ? search condition specification area ? search direction specification area ? search file specification area the function of each area is explained below. (1) search data specification area (2) search condition specification area (3) search direction specification area (4) search file specification area
chapter 6 window reference user?s manual u15185ej1v0um 165 (1) search data specification area this area specifies the data to be searched. although the character string selected in the window that has called this dialog box is displayed as the default assumption, the character string can be changed by keyboard input as necessary. by clicking the button and displaying the input history, the contents input previously can be reused. up to 16 items of input history can be retained. the maximum length of the character string to be search that can be input is up to 150 one-byte characters. (2) search condition specification area this area specifies via a check box whether the data specified for searching is case sensitive or not. as the default, the data is case sensitive. not case sensitive case sensitive (default) (3) search direction specification area this area specifies the search direction. two directions, upward and downward, can be selected. ? up: upward search. searches the data from the current cursor position toward the beginning (upward on display). ? down: downward search. searches the data from the current cursor position toward the end (downward on display). (4) search file specification area this area specifies the search file. if the specification is omitted, a search is made within the accessed window.
chapter 6 window reference user?s manual u15185ej1v0um 166 function buttons searches the specified data under given conditions. if a matching character string is found as a result of the search, it is highlighted. to continue searching data, click this button again. sets the specified conditions as search conditions and closes the dialog box. stops searching the data. the button changes to the button while data is being searched. closes the source search dialog box. this button changes to the button while data is being searched. opens the help window that explains the source search dialog box. opens the browse dialog box.
chapter 6 window reference user?s manual u15185ej1v0um 167 assemble window general this window displays a disassemble text and can also execute online assemble. opening method this window can be opened by the following methods. ? in the main window select [browse] [a ssemble?] from the menu bar. press the grph + b , and a keys in that order. ? click the button on the toolbar. window figure 6-34. assemble window function performs disassemble display and online assembly. online assembly is performed by moving the cursor to the mnemonic. the online assembly results are also reflected in the memory window. the assemble window has two states, the active state and the static state. only one assemble window in the active state can be opened at a time, but multiple assemble windows which are in the static state can be opened at the same time. these two states are described below.
chapter 6 window reference user?s manual u15185ej1v0um 168 (1) active state the first assemble window that is opened is in the active state. the assemble window?s display is updated when it is in the active state so that the current pc line is displayed at all times in sync with the current pc value. also, when in the active state, the assemble window becomes the jump destination for the jump function and, if it is synchronized with the trace view window, the assemble window?s display is updated in sync with the trace view window. (2) static state an assemble window in the static state is not synchronized with the current pc value and it displays a constant address. also, an assemble window in the static state cannot be made a jump destination, nor can it be synchronized with the trace view window. if an assemble window has already been opened in the active state, then all subsequent windows are opened in the static state. the assemble window consists of the following areas. ? point mark display area ? current pc mark display area ? address display area ? disassemble display area the function of each area is explained below. (1) point mark display area this area sets or deletes breakpoints, and displays the setting status of each event. (a) breakpoint setting/deletion function by clicking this area with the mouse, breakpoints can be set or deleted. the operation when clicking the mouse is as follows depending on the line where the mouse is clicked and the setting of on mouse click in the extended option dialog box. line setting of ?on mouse click? in extended option dialog box operation soft break sets software breakpoint where blank or marks other than the ?b? mark are displayed (e, l, t mark etc.) hard break sets hardware breakpoint soft break deletes software breakpoint where ?b? mark (blue) is displayed (software breakpoint) hard break sets hardware breakpoint soft break sets software breakpoint where ?b? mark (red, black) is displayed (hardware breakpoint) hard break deletes hardware breakpoint
chapter 6 window reference user?s manual u15185ej1v0um 169 if a breakpoint is set, the ?b? mark is displayed in the point mark area. however, if a mark other than the ?b? mark is displayed, the ?a? mark is displayed. the ?a? mark shows that multiple events are set. when a hardware breakpoint and a software breakpoint overlap, the ?a? mark is displayed. if a breakpoint is deleted, the ?b? mark in the point mark area is deleted and the area is left blank or a mark other than the ?b? mark is displayed. the ?b? mark is displayed in the following colors in accordance with the type of breakpoint and its state. display color explanation blue shows that a software breakpoint is set. red shows that the set hardware breakpoint is valid. black shows that the set hardware breakpoint is invalid. the hardware breakpoint can be made valid in the event manager or the break dialog box. if a breakpoint is set in the point mark area, it becomes valid at the time it is set. (b) event condition display function the set status of each event is displayed. if the execution event, or the fetch condition of an access event is set, a mark indicating the type of each event condition is displayed in the corresponding assemble line. mark meaning e shows that an event condition is set l shows that the final stage of an event link is set b shows that a break event is set t shows that a trace event is set ti note 1 shows that a timer event is set s note 1 shows that a snapshot event is set u note 2 shows that a stub event is set a shows that two or more events are set m note 3 shows that a dmm event is set notes 1. not supported in the id78k4-ns 2. supported only in the id78k4 3. supported only in the id78k0s-ns if a range address is specified as an event?s address condition, the lower address of the range becomes the object. also, the address condition?s mask specification is not reflected.
chapter 6 window reference user?s manual u15185ej1v0um 170 (2) current pc mark display area this area displays mark ?>? indicating the value of the current pc (pc register value). the program is executed up to the specified line by double-clicking the current pc mark area. (3) address display area this area displays the disassemble start address. when this field is clicked, an address is highlighted and selected. in addition, this area has the following functions. (a) drag-and-drop function a selected address which is highlighted can be dragged to another window or area. if the mouse cursor is positioned on the position of the selected address in the address display area and the left button is pressed and held down, then when the mouse is dragged, the arrow cursor form changes to a . if the mouse cursor is moved into a window or area where it is possible to drop it, the shape of the cursor changes form to . the operation is performed with respect to the dropped address in the window where it was dropped. operations after an address is dropped depend on the respective window or area where it was dropped.
chapter 6 window reference user?s manual u15185ej1v0um 171 window or area which is the drop object operation after drop ? event manager event manager area in each of the setting dialog boxes below ? event dialog box ? event link dialog box ? break dialog box ? trace dialog box ? snap shot dialog box note 1 ? stub dialog box note 2 ? timer dialog box note 1 with the dropped address as the address condition, the execution event conditions are generated automatically. the event condition names are generated automatically, as evt00001, evt00002, ... the external sense data conditions are not specified. address conditions are set in the form of symbol name + offset value for the symbol which is the closest. ? link condition setting area in the event link dialog box ? break condition setting area in the break dialog box ? section trace start condition area, section trace end condition area, and qualify trace condition area in the trace dialog box ? snapshot condition setting area in the snap shot dialog box note 1 ? stub condition setting area in the stub dialog box note 2 ? timer condition setting area in the timer dialog box note 1 the execution event conditions are generated automatically with the dropped address as the address condition. furthermore, automatically generated event conditions are set in the conditions setting area where they were dropped. the event condition names are generated automatically, as evt00001, evt00002, ... the external sense data conditions are not specified. address conditions are set in the form of symbol name + offset value for the symbol which is the closest. ? address condition setting area and data condition setting area in the event dialog box ? memory snap data setting area in the snap shot dialog box note 1 ? jump destination address setting area in the stub dialog box note 2 the address text is set in the area where it was dropped. address conditions are set in the form of symbol name + offset value for the symbol which is the closest. notes 1. not supported in the id78k4-ns 2. supported only in the id78k4 (b) window link function uses an address to show the linked relationship between the trace view window and the disassemble display. the address which is the link object with the trace view window is highlighted. for details, refer to the window link function of the trace view window.
chapter 6 window reference user?s manual u15185ej1v0um 172 (4) disassemble display area the address label, code data, and disassembled mnemonic are displayed in the disassemble display area. the disassemble display in the mnemonic column can be changed. to change it, move the cursor to the mnemonic column. during editing, the ins key can be used to switch between the overwrite mode and the insert mode. after making the desired changes in the mnemonic column, if the cursor is moved to a different line, the contents of the change are checked. if the change contents are incorrect, the code data in the changed line becomes an ?*?. even if it is moved to a different line, the change contents are not written to memory. another line can be changed without the changes being written to memory. the changed contents in the mnemonic column are written to memory by pressing the enter key. the change contents are also checked when the enter key is pressed. if the change contents are incorrect, the code data in the incorrect line become an ?*?. if even one line is incorrect, the change contents are not written to memory. in such a case, correct the change contents. to discard the change contents, press the esc key. if the change contents are not incorrect, if the enter key is pressed, after the change contents are written to memory, the cursor moves to the next line?s mnemonic column. in this way changes can continue to be made in the next line. if, as a result of the change, the number of bytes in the instructions after the change is fewer than the number of bytes in the instruction before the change, the remaining bytes are replaced by the ?nop? instruction. also, if, as a result of the change, the number of bytes in the instructions after the change is greater than the number of bytes in the instruction before the change, the next instruction is overwritten. in this case also, the remaining bytes are replaced by the ?nop? instruction. even in cases where the change runs into the source line, it is overwritten in the same way. cautions 1. if the disassemble display area is scrolled upward (toward the direction in which the address is decremented), an illegal mnemonic may be displayed (because the middle address of a multiple-byte instruction is displayed). 2. in the disassemble display area, sfrs or label symbols with different names but having the same address cannot be distinguished and displayed. as for the current pc line and the breakpoint setting line, the display color is changed and they are displayed in bold.
chapter 6 window reference user?s manual u15185ej1v0um 173 meaning of line display color explanation current pc line yellow this line corresponds to the current pc value. this is the line where a ?>? is displayed in the current pc mark area. breakpoint setting line red this is the line where the valid breakpoint is set. this is the line where a red or blue ?b? is displayed in the point mark area. the disassemble display area includes a number of functions such as program execution with the line where the cursor is located as the object, or setting of the breakpoint, etc. ? start function ? come function ? breakpoint setting function ? program counter setting function ? jump function furthermore, in the following case, these functions cannot be executed. the corresponding menu is dimmed and becomes impossible to select. ? if a user program is being executed. each function is explained below. (a) start function executes the user program from the line where the cursor is located. this function is executed by performing the following operations in sequential order. <1> move the cursor to the line where execution is to start. <2> perform one of the following operations in the main window. select [run] [sta rt from here] from the menu bar. press the grph + r , and a keys in that order. press the shortcut keys shift + f6 . (b) come function executes the user program up to the line where a cursor is placed. while the user program is being executed in this mode, however, the break event currently set is not generated. this function is executed by performing the following operations in sequential order. <1> move the cursor to the line where execution is to start. <2> perform one of the following operations in the main window. select [run] [com e here] from the menu bar. press the grph + r , and m keys in that order. press the shortcut key f6 .
chapter 6 window reference user?s manual u15185ej1v0um 174 (c) breakpoint setting function sets a breakpoint to the line where a cursor is placed. an execution event is used as the breakpoint to be set. this function is executed by performing the following operations in sequential order. <1> move the cursor to the line to which a breakpoint is to be set. <2> perform one of the following operations in the main window. select [run] [b reak point] from the menu bar. press the grph + r , and b keys in that order. press shortcut key f9 . (d) program counter setting function sets the address of the line where the cursor is placed to the pc (program counter). <1> move the cursor to the line where the program counter is to be set (pc). <2> perform one of the following operations in the main window. select [run] [ch ange pc] from the menu bar. press the grph + r , and h keys in that order. press the shortcut keys ctrl + f9 . (e) jump function jumps to the source window, memory window, or coverage window note by using the address of the line where the cursor is placed as a jump pointer. the jump destination window displays the jump pointer at the beginning. this function is executed by performing the following operations in sequential order. note not supported in the id78k4-ns <1> move the cursor to the line which is the jump origin. <2> perform one of the following operations in the main window. ? if the jump destination is the source window select [jump] [s ourcetext] from the menu bar. press the grph + j , and s keys in that order. press shortcut keys ctrl + u . ? if the jump destination is the memory window select [jump] [me mory] from the menu bar. press the grph + j , and e keys in that order. press shortcut keys ctrl + m . ? if the jump destination is the coverage window note select [jump] [c overage] from the menu bar. press the grph + j , and c keys in that order. press the shortcut keys ctrl + i . note not supported in the id78k4-ns
chapter 6 window reference user?s manual u15185ej1v0um 175 the text displayed in the disassemble display area can be selected by the following method. ? from the position where the desired text starts in the display, drag the mouse to the position within the range of 1 line. the text from the starting position to the end position is the text that is selected. ? double-click the character string. the words in the double-clicked position are selected. in the disassemble display area, a number of functions, such as watch and quick watch with the selected text as the object, can be performed. (f) watch function this adds the selected data to the watch window and displays its contents. furthermore, if an assembler symbol is selected, it is added to the watch window in accordance with the settings in the debugger option dialog box. this function is executed by carrying out the following operations in order. <1> select the text. <2> perform one of the following operations in the main window. select [view] [vi ew watch] from the menu bar. press the grph + v , and i keys in that order. select [view] [add w atch?] from the menu bar. press the grph + v , and w keys in that order. click the button in the assemble window. if any of these operations is carried out, the add watch dialog box opens and adding is performed. if the watch window is not currently open, the watch window is opened. (g) quick watch function this temporarily displays the contents of the selected data in the quick watch dialog box. this function is executed by carrying out the following procedure in order. <1> select the text. <2> perform one of the following operations in the main window. select [view] [q uick watch?] from the menu bar. press the grph + v , and q keys in that order. press the shortcut keys ctrl + w . click the button in the assemble window. the quick watch dialog box opens and its contents are displayed.
chapter 6 window reference user?s manual u15185ej1v0um 176 (h) drag-and-drop function through a drag-and-drop operation, the selected text can be dragged to another window or area. the operation order is shown below. <1> drag the selected text using the left button of the mouse. the mouse cursor?s shape will change from an arrow to a . <2> if the mouse cursor is moved into a window or area where it is possible to drop it, the shape of the cursor changes form to . operation after drag-and-drop differs depending on the window or area where the items were dropped. window or area which is the drop object operation after drop ? event manager event manager area in each of the setting dialog boxes below ? event dialog box ? event link dialog box ? break dialog box ? trace dialog box ? snap shot dialog box note 1 ? stub dialog box note 2 ? timer dialog box note 1 if it is possible to convert the dropped text to an address value as a symbol, with the converted address value as the address condition, the access status (all-access status) or the execute status event conditions are generated automatically. the event condition names are generated automatically, as evt00001, evt00002, ... the data conditions and external sense data conditions are not specified. the dropped text is set in the address conditions. the relationship between the generated event conditions and the symbols is as follows. symbol status variable r/w function execution symbols in the data section r/w symbols in the code section execution other r/w ? link condition setting area in the event link dialog box ? break condition setting area in the break dialog box ? section trace start condition area, section trace end condition area, and qualify trace condition area in the trace dialog box ? snapshot condition setting area in the snap shot dialog box note 1 ? stub condition setting area in the stub dialog box note 2 ? timer condition setting area in the timer dialog box if it is possible to convert the dropped text to an address value as a symbol, with the converted address value as the address condition, the access status (all-access status) or the execute status event conditions are generated automatically. furthermore, the automatically generated event conditions are set in each dropped conditions setting area. the event condition names are generated automatically, as evt00001, evt00002, ... the data conditions and external sense data conditions are not specified. the dropped text is set in the address conditions. the relationship between the generated event conditions and the symbols is as follows. symbol status variable r/w function execution symbols in the data section r/w symbols in the code section execution other r/w ? address condition setting area and data condition setting area in the event dialog box ? memory snap data setting area in the snap shot dialog box note 1 ? jump destination address setting area in the stub dialog box note 2 text is set in the dropped area. watch window if the dropped text can be recognized as a symbol, the symbol contents are displayed. notes 1. not supported in the id78k4-ns 2. supported only in the id78k4
chapter 6 window reference user?s manual u15185ej1v0um 177 function buttons opens the assemble search dialog box and searches the character string of a mnemonic. if text has been selected in the disassemble display area, sets the selected text as the search object and opens the assemble search dialog box. if text has not been selected, the assemble search dialog box will open with the search object in the blank state. specify the search method in the assemble search dialog box. the search results are selectively displayed in the assemble window. operation is the same as when [view ] [s earch...] is selected on the menu bar. searches for the contents that match the search conditions set in the assemble search dialog box in the backward direction from the cursor position (toward the top of the display). during the search, it changes to a button. searches for the contents that match the search conditions set in the assemble search dialog box in the forward direction from the cursor position (toward the bottom of the display). during the search, it changes to a button. interrupts the search. during a search, the button or the button changes to the button. adds the symbol, etc. selected in the disassemble display area to the watch window. if the watch window has not been opened, it opens the watch window. if text has not been selected in the disassemble display area, the watch window is only opened. the operation is the same as when [view] [vi ew watch] is selected on the menu bar. temporarily displays the contents of symbols, etc. selected in the disassemble display area in the quick watch dialog box. it opens the quick watch dialog box. if text has not been selected in the disassemble display area, the quick watch dialog box is only opened. the operation is the same as when [view] [q uick watch] is selected on the menu bar. updates the window contents with the latest data. closes the assemble window.
chapter 6 window reference user?s manual u15185ej1v0um 178 assemble search dialog box general searches the contents of the assemble window. opening method this dialog box can be opened by one of the following methods when the assemble window is the current window. ? in the main window select [view] [s earch...] from the menu bar. press the grph + v , and s keys in that order. press the shortcut keys ctrl + g . ? in the assemble window click the button. window figure 6-35. assemble search dialog box function initiates a search for the disassemble contents. continuous null characters which include input character strings and disassemble character strings are compared as a single null character. the assemble search dialog box consists of the following areas. ? search data specification area ? search conditions specification area ? search direction specification area ? search range specification area the function of each area is explained below. (1) search data specification area (2) search conditions specification area (3) search direction specification area (4) search range specification area
chapter 6 window reference user?s manual u15185ej1v0um 179 (1) search data specification area this area specifies the data that is to be searched for. in the default setting, the string selected in the accessed window is displayed, but as necessary, it can be changed by inputting from the keyboard. by clicking the button and displaying the input history, the contents input previously can be reused. up to 16 items of input history can be retained. the maximum length of the character string to be search that can be input is up to 150 one-byte characters. (2) search conditions specification area (a) when searching, this check box specifies whether the data specified for searching is case sensitive or not. in the default setting, the data is case sensitive. not case sensitive. case sensitive (default) (b) when searching, this check box specifies whether to search the whole range or not. in the default setting, only the remaining portion of the range is searched. only the remaining portion of the range is searched (default). the whole range is searched. (3) search direction specification area this specifies the search direction. there are two types of search, upward, and downward. up: upward search. searches the data from the current cursor position toward the beginning (upward on display). down: downward search. searches the data from the current cursor position toward the end (downward on display).
chapter 6 window reference user?s manual u15185ej1v0um 180 (4) search range specification area this area specifies the addresses being searched. a symbol or an expression can also be specified for an address. the specification method is the same as in the case of the address move dialog box. the default radix when inputting numerical values is hexadecimal. function buttons searches for the specified search data in accordance with the conditions. as the search results, the matching character string is highlighted. for a continuous search, press this button again. sets the specified conditions as the search conditions and closes the dialog box. interrupts the search for data. during the data search, the button changes to the button. closes the assemble search dialog box. during a data search, it changes to the button. opens the help window that explains the assemble search dialog box.
chapter 6 window reference user?s manual u15185ej1v0um 181 memory window general this window displays and changes the memory contents. opening method this window can be opened by the following methods. ? in the main window select [browse] [m emory] from the menu bar. select [jump] [me mory] from the menu bar. press the grph + b , and m keys in that order. press the grph + j , and e keys in that order. click the button on the toolbar.
chapter 6 window reference user?s manual u15185ej1v0um 182 window figure 6-36. memory window without ascii display with ascii display
chapter 6 window reference user?s manual u15185ej1v0um 183 function displays and changes the memory contents. a vertical scroll bar is always displayed so that the memory contents can be scrolled. the button or the button can also be used to move the display one page up or one page down. also, even during emulation, the memory contents can be displayed in real time. the real-time display range is the address range set in the extended option dialog box. the memory window has two states, the active state and the static state. only one memory window in the active state can be opened at a time, but multiple memory windows which are in the static state can be opened at the same time. each memory window state is explained below. (1) active state a memory window in the active state is the jump destination for the jump function and, if it is synchronized with the trace view window, the memory window?s display is updated in synchronization with the trace view window. the first memory window opened is in the active state. (2) static state a memory window in the static state is not the jump destination and is not synchronized with the trace view window. except for those points, it operates in the same way as in the active state. if an active memory window is already open, then all subsequent memory windows are opened in the static state. the memory window consists of the following areas. ? address display area ? memory display area ? ascii display area the function of each area is explained below. (1) address display area this area displays memory addresses. addresses are displayed in 4 digits (16 bits) in the ID78K0-NS and id78k0s-ns, and 5 digits (20 bits) in the id78k4 (-ns). the address width changes when memory bank is used.
chapter 6 window reference user?s manual u15185ej1v0um 184 (2) memory display area this area displays and changes the memory contents. the contents to be changed are displayed in red characters, then by pressing the enter key, they are actually written to the target. the contents prior to the change (when in the red character state) can be erased using the esc key. up to 256 bytes of data can be changed at one time. this area also has the following two functions in addition to displaying the memory contents making changes. (a) jump function jumps to the source window, assemble window, or coverage window note by using the address at the cursor position as a jump pointer. the jump destination window displays the jump pointer at the beginning. this function is executed by performing the following operations in sequential order. note not supported in the id78k4-ns <1> move the cursor to the line which is the jump origin. <2> perform one of the following operations in the main window. ? if the jump destination is the source window select [jump] [ s ourcetext] from the menu bar. press the grph + j , and s keys in that order. press shortcut keys ctrl + u . ? if the jump destination is the assemble window select [jump] [a ssemble] from the menu bar. press the grph + j , and a keys in that order. press shortcut keys ctrl + d . ? if the jump destination is the coverage window note select [jump] [c overage] from the menu bar. press the grph + j , and c keys in that order. press shortcut keys ctrl + i . note not supported in the id78k4-ns
chapter 6 window reference user?s manual u15185ej1v0um 185 (b) window link function shows the relationship between the trace view window and the memory window via memory contents. for further information, refer to the description of the window link function for the trace view window. (3) ascii display area this area displays the memory contents in ascii. the memory contents can be converted into ascii characters for display. the conversion method is the same as the memory display area. the display can be turned on and off by selecting [view] [a scii] on the menu bar (the display is on by the default setting). this area is also a jump pointer for the jump function, in the same way as in (2) memory display area . function buttons opens the memory search dialog box and searches for a character string in the displayed memory contents or memory contents. at this time, the selected data (memory value) is displayed in the memory search dialog box as the search subject. if the dialog box is opened without data specified, specify data by key input. the result of the search is highlighted in the memory window. searches for the memory contents that match the search conditions set in the memory search dialog box in the backward direction from the cursor position (toward the top of the display). it changes to a button during a search. searches for the memory contents that match the search conditions set in the memory search dialog box in the forward direction from the cursor position (toward the bottom of the display). it changes to a button during a search. interrupts a search. during a search, the button or the button changes to a button. updates the window?s contents with the latest data. closes this window.
chapter 6 window reference user?s manual u15185ej1v0um 186 memory search dialog box general searches the memory contents. opening method this dialog box can be opened by one of the following methods. ? set the memory window as the current window and in the main window; select [view] [s earch?] from the menu bar. press the grph + v , and s keys in that order. press the shortcut keys ctrl + g . ? in the memory window click the button. window figure 6-37. memory search dialog box (1) search data specification area (3) search direction specification area (4) search range specification area (2) search condition specification area
chapter 6 window reference user?s manual u15185ej1v0um 187 function this searches the contents of memory for the memory window where the cursor is placed. if the cursor is in the memory display area, the specified data is regarded as a binary data string and the memory display area is searched. if the cursor is in the ascii display area, the specified data is regarded as an ascii character string and the ascii display area is searched. unmapped areas, sfr areas, and i/o protected areas are not searched. the search result is highlighted in the memory window. the highlighted data can be placed on the clipboard, but note that only the last line is placed when the data extends to several lines. the memory search dialog box consists of the following areas. ? search data specification area ? search condition specification area ? search direction specification area ? search range specification area the function of each area is explained below. (1) search data specification area this area specifies the data to be searched. although the character string selected in the window that has called this dialog box is displayed as the default assumption, the character string can be changed by keyboard input as necessary (input cannot be made using a symbol or expression.) when searching the memory display area, a maximum of 16 items of data can be specified at one time. specify each item of data using a space as a delimiter. when searching the ascii display area, a maximum of 256 characters of data can be specified. spaces in the data are treated as null characters. by clicking the button and displaying the input history, the contents input previously can be reused. up to 16 items of input history can be retained. the maximum length of the character string to be search that can be input is up to 150 one-byte characters. (2) search condition specification area (a) this area specifies the bit size each specified search data is to be regarded as via a check box. as the default, the data is searched as 8-bit data. byte: search as 8-bit data (default) word: search as 16-bit data double word: search as 32-bit data
chapter 6 window reference user?s manual u15185ej1v0um 188 (b) this is a check box which specifies whether to search the whole specified region or not when conducting search. with the default, only the portion remaining in the range is searched. searches the remaining portion of the range (default). searches the whole range. (3) search direction specification area this area specifies the direction of search. two directions, upward and downward, can be selected. ? up: upward search. searches the data from the current cursor position toward the beginning (upward on display). ? down: downward search. searches the data from the current cursor position toward the end (downward on display). (4) search range specification area this area specifies the addresses being searched. a symbol or expression can also be specified for an address. the specification method is the same as in the case of the address move dialog box. the default radix when inputting numerical values is hexadecimal. function buttons searches for the specified search data in accordance with the conditions. as the search results, the matching character string is highlighted. for a continuous search, press this button again. sets the specified conditions as the search conditions and closes the dialog box. interrupts the search for data. during the data search, the button changes to the button. closes the memory search dialog box. during a data search, it changes to the button. opens the help window that explains the memory search dialog box.
chapter 6 window reference user?s manual u15185ej1v0um 189 memory fill dialog box general initializes the memory contents with a specified code. opening method this dialog box can be opened by the following methods. ? in the main window select [edit] [m emory] [f ill ] from the menu bar. press the grph + e , m , and f keys in that order. window figure 6-38. memory fill dialog box function the memory fill dialog box consists of the following areas. ? address range specification area ? data specification area the function of each area is explained below. (1) address range specification area (2) data specification area
chapter 6 window reference user?s manual u15185ej1v0um 190 (1) address range specification area this area specifies the address range of the memory contents to be initialized. a symbol or expression can also be specified for an address. the default radix when inputting numerical values is hexadecimal. specify the initialization top and end addresses, in that order. (2) data specification area this area specifies the data to be initialized. binary data strings (byte data strings) with up to 16 items of data can be specified. specify each item of data using a space as a delimiter. the default radix is hexadecimal and the radix can be specified for each item of data. function buttons initializes the memory contents. closes this dialog box. this button changes to the button during memory initialization. stops initializing the memory. the button changes to the button during memory initialization. returns the input data to its original form. opens the help window.
chapter 6 window reference user?s manual u15185ej1v0um 191 memory copy dialog box general copies the memory contents. opening method this dialog box can be opened by the following methods. ? in the main window select [edit] [m emory] [c opy ] from the menu bar. press the grph + e , m , and c keys in that order. window figure 6-39. memory copy dialog box function the memory copy dialog box consists of the following area. ? address range specification area the function of this area is explained below. (1) address range specification area (1) address range specification area
chapter 6 window reference user?s manual u15185ej1v0um 192 this area specifies the copy source and copy destination addresses. a symbol or expression can also be specified for an address. the default radix when inputting numerical values is hexadecimal. from: specifies the address range of the copy source. specify the copy source top address and copy source end address, in that order. to: specifies the top address of the copy destination. function buttons copies the memory contents. closes this dialog box. this button changes to the button while copying the memory. stops copying the memory data. the button changes to the button while copying the memory. returns the input data to its original value. opens the help window.
chapter 6 window reference user?s manual u15185ej1v0um 193 memory compare dialog box general compares the memory contents. opening method this dialog box can be opened by the following methods. ? in the main window select [edit] [m emory] [comp are ] from the menu bar. press the grph + e , m , and p keys in that order. window figure 6-40. memory compare dialog box function the memory compare dialog box consists of the following area. ? compare range specification area the function of this area is explained below. (1) compare range specification area (1) compare range specification area
chapter 6 window reference user?s manual u15185ej1v0um 194 this area specifies the compare source and compare destination addresses. a symbol or expression can also be specified for an address. the default radix when inputting numerical values is hexadecimal. specify the address range of the compare source and the compare destination so that a guard area is not included. if a guard area is included, an error will occur and the error message f201 (f) will be displayed. mem1: specify the address range of the compare source. specify the compare source top address and compare source end address, in that order. mem2: specify the top address of the compare destination. function buttons compares the memory contents. if no difference is found as a result of comparison, a confirmation dialog box is displayed. if a difference is found, a memory compare result dialog box is opened. the confirmation dialog box that is displayed if no difference is found as a result of comparison is shown below. by clicking the button in this confirmation dialog box, the memory compare dialog box is closed. closes this dialog box. this button changes to the button during comparison. stops comparing the memory contents. the button changes to the button while comparing the memory contents. returns the input data to its original value. opens the help window.
chapter 6 window reference user?s manual u15185ej1v0um 195 memory compare result dialog box general displays the result of comparing memory contents. this dialog box is opened if a discrepancy is found as a result of comparing the memory contents in the memory compare dialog box. if no discrepancy is found, a confirmation dialog box is opened instead of this dialog box. window figure 6-41. memory compare result dialog box function the memory compare result dialog box consists of the following area. ? compare result display area the function of this area is explained below.
chapter 6 window reference user?s manual u15185ej1v0um 196 (1) compare result display area this area displays the result of comparing memory contents. only those parts where there were comparison errors are displayed. mem1 addr: displays the compare source address at which an error has been found. memory: displays the data that has caused the error. the compare source data is displayed on the left, and the compare destination data is displayed on the right. mem2 addr: displays the compare destination address at which an error has been found. the address width changes when a memory bank is used. function buttons closes this dialog box. opens the help window.
chapter 6 window reference user?s manual u15185ej1v0um 197 pseudo dmm dialog box general sets the address and data for which dmm is to be executed. the memory contents are rewritten in real-time while the user program is being executed (however, the user program under execution is temporarily stopped and then re-executed because this function is realized by software emulation). opening method this dialog box can be opened by one of the following methods. ? in the main window select [edit] [m emory?] [m odify] from the menu bar. press the grph + e , m , and m keys in that order. window figure 6-42. pseudo dmm dialog box function the pseudo dmm dialog box consists of the following areas. ? address setting area ? data setting area ? data size setting area the function of each area is explained below. (1) address setting area (2) data setting area (3) data size setting area
chapter 6 window reference user?s manual u15185ej1v0um 198 (1) address setting area this area specifies the address to which data is to be written. an address can be specified by a symbol or an expression, in the same manner as in the address move dialog box. the default radix when inputting a numerical value is hexadecimal. (2) data setting area this area specifies the data to be written to the memory address specified in the address setting area above. only one binary data string can be specified at a time. specify the size of the data in the data size setting area below. the default radix is hexadecimal. (3) data size setting area this area specifies the size of the data to be written. select the size of the data from the following: byte: writes the data specified in the data setting area as 8-bit data. word: writes the data specified in the data setting area as 16-bit data. double word: writes the data specified in the data setting area as 32-bit data. function buttons writes the data. closes the dmm dialog box. returns the input data to its original form. opens the help window.
chapter 6 window reference user?s manual u15185ej1v0um 199 watch window general this window displays and changes the specified data. opening method this window can be opened by one of the following methods. ? in the main window select [browse] [w atch] from the menu bar. press the grph + b , and w keys in that order. click the button on the toolbar. ? in the source window after selecting data, select [view] [vi ew watch] from the menu bar. press the grph + v , and i keys in that order. click the button. ? in the assemble window after selecting data, select [view] [vi ew watch] from the menu bar. press the grph + v , and i keys in that order. click the button.
chapter 6 window reference user?s manual u15185ej1v0um 200 window figure 6-43. watch window function displays and changes data. the data display is added to by selecting a variable name or symbol name in the source window or the assemble window and clicking the button, or by dragging the selected part directly to the watch window with the mouse. adding can also be done by specifying a variable name or symbol name in the quick watch dialog box or the add watch dialog box and clicking . to delete a data display, click a variable name or symbol name, then after highlighting it, click the button. alternatively, make a selection using the arrow keys, then after highlighting the selection delete it by pressing the del key. data value update results and rewrites are reflected in the memory window. also, wide-area data allocated to any 2 kb of internal ram area (such as global variables or public symbols) can be displayed in real time even during emulation, just as in the memory window. the boundary line between the symbol name display area and data value display/setting area can be moved to the left or right using the mouse. to move the boundary, drag the mouse cursor at the point when it changes from ? ? to ? ? ?. note this data is allocated to the internal high-speed ram (iram) area in the id78k4-ns, and to the internal ram (iram and pram) areas in the id78k4. the watch window consists of the following areas. ? symbol name display area ? data value display/setting area
chapter 6 window reference user?s manual u15185ej1v0um 201 the function of each area is explained below. (1) symbol name display area this area displays the variable names and symbol names. a ?+? is displayed in front of arrays, pointer type variables, and structures/unions. these variables are expanded and displayed as shown below by double-clicking them. ? for an array, all the elements of the variable are displayed in accordance with the type of array variable. ? for pointer type variables, the data indicated by the pointer is displayed. ? for structures/unions, all the members of the structure/union are displayed in accordance with the type of member variable. however, if a structure/union is defined within a structure/union, the members up to the tag name or variable name in the internal structure/union are displayed. for variables which have been expanded and displayed, the ?+? display is changed to a ??? display. if they are double-clicked in this state, the expansion display is deleted. note that variables with a ?+? that are displayed inside a structure/union are expanded and displayed in the same way by double-clicking them. to expand and display, or to delete an expansion display, select the variable with the arrow keys, then press the enter key. data which has become invalid due to changes in the scope or optimization compilation is dimmed. whether to display or not display variable types can be set in the debugger option dialog box. caution arrays of up to four dimensions are supported. an array of five dimensions or more cannot be displayed.
chapter 6 window reference user?s manual u15185ej1v0um 202 (2) data value display/setting area this area is where data values are displayed and changed. ? when the variable is a structure/union, the address is displayed. ? when the variable is an enumeration type, the member name is displayed. ? when the variable is an integer, it is displayed as follows. xxxh: displayed in hexadecimal. xxxt: displayed in decimal. xxxq: displayed in octal. xxxy: displayed in binary. ? when the variable is a floating point, it is displayed as follows. [+|?] inf [+|?] nan [+|?] integer portion e [+|?] exponent [+|?] integer portion. decimal portion [e [+|?] exponent] values are updated when execution is stopped. to save values, select [file] [save a s?] in the main window, then save to the displayed file. also, if the acquisition of data values has failed, this area will be blank. data which has become invalid due to the changing of the scope or optimization compilation is displayed together with a ???. the contents of changes are written to the target by pressing the enter key. the contents prior to the change can be erased using the esc key. if the display size of variables, or assembler bit symbols or registers, etc. in the c language is fixed, the display size cannot be selected.
chapter 6 window reference user?s manual u15185ej1v0um 203 function buttons opens the add watch dialog box. in the add watch dialog box, if the data is specified and the button is clicked, the specified data is added to the watch window. deletes the specified data from the watch window. the del key also performs this operation. moves the selected data one line up. moves the selected data one line down. updates the contents of the window with the latest data. closes the watch window.
chapter 6 window reference user?s manual u15185ej1v0um 204 quick watch dialog box general temporarily displays and changes specified data. opening method this dialog box can be opened by one of the following methods. ? in the main window select [view] [q uick watch?] from the menu bar. press the grph + v , and q keys in that order. ? in the source window click the button in the source window. press the shortcut keys ctrl + w . ? in the assemble window click the button in the assemble window. press the shortcut keys ctrl + w . window figure 6-44. quick watch dialog box (5) display size select area (4) display radix select area (1) symbol specification area (2) symbol name display area (6) display item number specification area (3) data value display/setting area
chapter 6 window reference user?s manual u15185ej1v0um 205 function temporarily displays and changes specified data. the boundary between the symbol name display area and the data value display/setting area can be moved to the left or right using the mouse. to move the boundary, drag the mouse cursor at the point when it changes from ? ? to ? ? ?. the quick watch dialog box consists of the following areas. ? symbol specification area ? symbol name display area ? data value display/setting area ? display radix select area ? display size select area ? display item number specification area the function of each area is explained below. (1) symbol specification area this area specifies the data to be displayed. in the default setting, the string selected in the accessed window is displayed, but as necessary, it is also possible to change it by inputting from the keyboard. however, if the selected string does not exist, this area becomes blank. by clicking the button and displaying the input history, the contents input previously can be reused. up to 16 items of input history can be retained. when the contents of the symbol specification area have been changed, clicking the button causes the data specified in the symbol specification area to be displayed in the symbol name display area and data value display/setting area. (2) symbol name display area
chapter 6 window reference user?s manual u15185ej1v0um 206 this area displays the variable names or symbol names. the display contents are the same as in the watch window. however, data which has becomes invalid due to changes in the scope or optimization compilation is not displayed. (3) data value display/setting area this area displays the data values. the display contents and the way to change the contents are the same as in the watch window. (4) display radix select area this area selects the radix to be displayed. (5) display size select area this area selects the size to be displayed. (6) display item number specification area this area specifies the number of data items to be displayed. specify blank or a number from 1 to 256. the default is blank. if blank, the data is displayed as a simple variable. if a number 1 or greater is specified, it is displayed as an array variable. in this case, a ?+? is displayed in front of the data. by double-clicking this data, all the elements of the data are expanded and displayed in accordance with the data type. ?+? of the expanded and displayed data changes to ???. double-clicking in this state cancels the expanded display. if the display number of variables, or assembler bit symbols or registers, etc. in the c language is fixed, the display number cannot be specified.
chapter 6 window reference user?s manual u15185ej1v0um 207 function buttons displays the data specified in the symbol specification area in the symbol name display area and the data value display/setting area. adds the data specified in the symbol specification area to the watch window. closes this dialog box. change contents that have not actually been written to the target are erased.
chapter 6 window reference user?s manual u15185ej1v0um 208 add watch dialog box general registers data to be displayed in the watch window. opening method this dialog box can be opened by either of the following methods. ? in the main window select [view] [add w atch?] from the menu bar. press the grph + v , and w keys in that order. ? in the watch window click the button in the watch window. window figure 6-45. add watch dialog box functions the add watch dialog box consists of the following areas. ? symbol specification area ? display radix select area ? display size select area ? display item number specification area the function of each area is explained below. (1) symbol specification area (2) display radix select area (4) display item number specification area (3) display size select area
chapter 6 window reference user?s manual u15185ej1v0um 209 (1) symbol specification area this area specifies the data to be viewed in the watch window. in the default setting, the string selected in the accessed window is displayed, but as necessary, it is also possible to change it by inputting from the keyboard. however, if the selected string does not exist, this area becomes blank. by clicking the button and displaying the input history, the contents input previously can be reused. up to 16 items of input history can be retained. the expressions that can be used for inputting data are as shown below. ? c language variable name (variable expression: variable name) variable expression [decimal constant values]: array elements variable expression. member name: structure/union actual member variable expression member name: member of structure/union that indicates a pointer *variable expression: value of pointer variable ? register name ? sfr name, sfr bit name ? label, equ and immediate address ? register name.bit ? label name.bit, equ symbol name.bit, immediate address.bit ? bit symbol (2) display radix select area this area selects the display radix. the display radix can be selected from among the following. proper: in the case of a variable, the value specified for each variable is displayed. in the case of a symbol, it is displayed in the radix set in the debugger option dialog box. hex: displayed in hexadecimal (xxxh). dec: displayed in decimal (xxxt). oct: displayed in octal (xxxq). bin: displayed in binary (xxxy). string: displayed as a character string.
chapter 6 window reference user?s manual u15185ej1v0um 210 (3) display size select area this area selects the display size. the display size can be selected from among the following. adaptive: in the case of a variable, the value specified for each variable is displayed. in the case of a symbol, the size set in the debugger option dialog box is displayed. byte: displayed in 8 bits. word: displayed in 16 bits. double word: displayed in 32 bits. if the display size of variables, or assembler bit symbols or registers, etc. in the c language is fixed, the specified size is displayed in the watch window regardless of the specified display size. (4) display item number specification area this area specifies the number of data items to be displayed. specify blank or a number from 1 to 256. the default is blank. if blank, the data is displayed as a simple variable. if a number 1 or greater is specified, it is displayed as an array variable. in this case, a ?+? is displayed in front of the data. by double-clicking this data, all the elements of the data are expanded and displayed in accordance with the data type. ?+? of the expanded and displayed data changes to ???. double-clicking in this state cancels the expanded display. if the display number of variables, or assembler bit symbols or registers, etc. in the c language is fixed, the display number cannot be specified. function buttons adds the specified data to the watch window. does not close the add watch dialog box. adds the specified data to the watch window and closes the add watch dialog box. closes the add watch dialog box. returns the input data to its original form. opens the help window.
chapter 6 window reference user?s manual u15185ej1v0um 211 change watch dialog box general changes the data on the line selected in the watch window. the line of an opened hierarchy, such as the elements of an array and the members of a structure or a union cannot be changed. if watch data is changed, the contents of the selected line are replaced by new data. opening method this dialog box can be opened by one of the following methods. ? in the main window, select [view] [chang e watch?] from the menu bar. press the grph + v and g keys in that order. ? in the watch window, click the button. window figure 6-46. change watch dialog box (1) symbol specification area (2) display radix select area (3) display size specification area (4) displayed number of data specification area
chapter 6 window reference user?s manual u15185ej1v0um 212 function changes the data on the line selected in the watch window. the line of an opened hierarchy, such as the elements of an array and the members of a structure or a union cannot be changed. if watch data is changed, the contents of the selected line are replaced by new data. the change watch dialog box consists of the following areas. ? symbol specification area ? display radix select area ? display size specification area ? displayed number of data specification area the function of each area is explained below. (1) symbol specification area this area changes the symbol name. for details, refer to the symbol specification area of the add watch dialog box. (2) display radix select area this area changes the radix to be displayed. for details, refer to the display radix select area of the add watch dialog box. (3) display size specification area this area changes the size to be displayed. for details, refer to the display size specification area of the add watch dialog box. (4) displayed number of data specification area this area changes the number of data to be displayed. for details, refer to the display size specification area of the add watch dialog box.
chapter 6 window reference user?s manual u15185ej1v0um 213 function buttons always dimmed. replaces the registered contents of the line currently selected by the specified data, and then closes the change watch dialog box. closes the change watch dialog box. returns the input data to its original form. opens the help window.
chapter 6 window reference user?s manual u15185ej1v0um 214 register window general this window displays and changes the contents of the registers (general-purpose registers and control registers). opening method this window can be opened by the following methods. ? in the main window select [browse] [r egister] from the menu bar. press the grph + b , and r keys in that order. click the button on the toolbar. window figure 6-47. register window function displays and changes the contents of registers (general-purpose registers and control registers). the register to be displayed can be selected in the register select dialog box. the register window can be opened only in the active state.
chapter 6 window reference user?s manual u15185ej1v0um 215 the register window consists of the following areas. ? register bank setting area (ID78K0-NS only) ? general-purpose register display area ? control register display area the boundary line between the general-purpose register display area and control register display area can be moved up or down using the mouse. to move the boundary, drag the mouse cursor at the point when it changes from ? ? to ? ? ?. the function of each area is explained below. (1) register bank setting area (ID78K0-NS only) this area displays and sets the bank number of the general-purpose registers. item description register bank: displays and sets the register bank displayed in the general- purpose register display area. changing the bank number is performed using the button. current bank: displays the register bank number currently set to the target (current bank). (2) general-purpose register display area this area displays or changes the contents of the registers with the bank number displayed by register bank: in the register bank setting area. the contents can be written to the target memory by pressing the enter key. the contents prior to the change can be erased using the esc key. this area also functions as a jump pointer for the jump function in addition to displaying/changing general- purpose registers. operation of the jump function is the same as in the case of the control registers. general-purpose registers are displayed as absolute names or function names, which can be switched using an item in the view menu displayed or the menu bar.
chapter 6 window reference user?s manual u15185ej1v0um 216 (3) control register display area this area displays or changes the contents of the control registers. the contents can be written to the target memory by pressing the enter key. the contents prior to the change can be erased using the esc key. the flag names and flag values of the register to which ?+? is prefixed are displayed by double-clicking the register name. ?+? then changes to ? ? ?. switching can also be done by selecting a register name using the arrow keys then pressing the enter key. in addition, this area also functions as a jump pointer for the jump function. the jump function is a function to jump to the source window, assemble window, memory window, or coverage window note by using a selected control register value as a jump pointer. the jump destination window displays the jump pointer at the beginning. this function is executed by performing the following operations in sequential order. note not supported in the id78k4-ns <1> select the control register. <2> perform one of the following operations in the main window. ? if the jump destination window is the source window. select [jump] [s ource] from the menu bar. press grph + j , and s keys in that order. press the shortcut keys ctrl + u . ? if the jump destination window is the assemble window. select [jump] [a ssemble] from the menu bar. press grph + j , and a keys in that order. press the shortcut keys ctrl + d . ? if the jump destination window is the memory window. select [jump] [me mory] from the menu bar. press grph + j , and e keys in that order. press the shortcut keys ctrl + m . ? if the jump destination window is the coverage window note . select [jump] [c overage] from the menu bar. press grph + j , and c keys in that order. press the shortcut keys ctrl + i . note not supported in the id78k4-ns when the memory bank is used, the address width of the pc changes.
chapter 6 window reference user?s manual u15185ej1v0um 217 function buttons updates the contents of the window with the latest data. closes the register window.
chapter 6 window reference user?s manual u15185ej1v0um 218 sfr window general this window displays and changes sfrs. the i/o ports set in the add i/o port dialog box can also be displayed and changed. opening method this window can be opened by the following methods. ? in the main window select [browse] [sf r] from the menu bar. press the grph + b , and f keys in that order. click the button in the tool bar. window figure 6-48. sfr window function displays and changes the contents of the sfrs. note, however, that values cannot be changed for read-only sfrs. also, sfrs that cause the device to operate when read are read-protected and cannot therefore be read. when reading such sfrs, select the sfr to be read and execute [view] [c ompulsion read] from the menu bar. the i/o ports set in the add i/o port dialog box can also be displayed and changed. the operation for read-only or read-protected i/o ports is the same as that for sfrs.
chapter 6 window reference user?s manual u15185ej1v0um 219 the sfr window consists of the following areas. ? sfr name display area ? attribute display area ? contents of sfr display area the function of each area is explained below. (1) sfr name display area this area displays the sfr and i/o port names. when the i/o port address is an undefined value, the i/o port name is dimmed. (2) attribute display area this area displays the read/write attribute, access type, and absolute address of the sfr name or i/o port. whether to display or not display the attribute display area can be selected using [view] [at tribute] from the menu bar.
chapter 6 window reference user?s manual u15185ej1v0um 220 the types of read/write attributes are as follows. attribute meaning r read-enabled sfr or i/o port w write-enabled sfr or i/o port r/w read-/write-enabled sfr or i/o port the access types are as follows. access type meaning 1 bit-access-enabled sfr 8 byte-access-enabled sfr or i/o port 16 word-access-enabled sfr or i/o port (3) contents of sfr display area this area displays and changes the contents of the sfrs or i/o ports. this area is displayed as follows depending on the attribute of the sfr or i/o port. ? read-enabled sfr or i/o port: displayed in black ? write-enabled sfr or i/o port: displayed with ??-? ? read-/write-enabled sfr or i/o port: displayed in black ? sfr or i/o port with values that change when read: displayed with ?**? the changed contents are written to the target by pressing the enter key. the contents before change can be erased with the esc key. the value of an sfr or i/o port which is protected from reading can be read by executing [view] [c ompulsion read] from the menu bar.
chapter 6 window reference user?s manual u15185ej1v0um 221 function buttons updates the contents of the window with the latest data. closes the sfr window.
chapter 6 window reference user?s manual u15185ej1v0um 222 sfr select dialog box general selects sfrs or i/o ports that are not displayed in the sfr window. opening method this dialog box can be opened by the following methods when the current window is the sfr window. ? in the main window select [view] [se lect?] from the menu bar. press the grph + v , and e keys in that order. window figure 6-49. sfr select dialog box function the sfr select dialog box consists of the following areas. ? display sfr select area ? display order specification button ? no display list display order change button the function of each area is explained below.
chapter 6 window reference user?s manual u15185ej1v0um 223 (1) display sfr select area select the sfrs or i/o ports that are to be displayed in the sfr window, and the sfrs or i/o ports that are not to be displayed. the sfrs or i/o ports displayed in the sfr window are shown on the [display:] list, and the sfrs or i/o ports not displayed are shown on the [no display:] list. the sfrs or i/o ports displayed or not displayed in the sfr window can be changed by selecting an sfr or i/o port name from these lists and by clicking the or button. if all the sfrs or i/o ports are to be displayed, click the button. if all the sfrs or i/o ports are to be hidden, click the button. the function of each button is explained below. moves the sfr or i/o port selected in the [no display:] area to the [disp lay:] list area. moves the sfr or i/o port selected in the [display:] list area to the [no displ ay:] area. moves all the sfrs or i/o ports to the cursor position in [display:]. moves all the sfrs or i/o ports to [no display:]. two or more sfrs or i/o ports can be selected by clicking the mouse while holding down the control key or the shift key when selecting an sfr or i/o port from the [display:] list or [no displ ay:] list.
chapter 6 window reference user?s manual u15185ej1v0um 224 (2) display order specification button this button sets the display order in the [display:] list. the sfr or i/o port selected in the [disp lay:] list is moved to the top of the list with the button, and to the bottom with the button. it is also moved up one line with the button and down one line with the button. the function of each button is as follows. moves the sfr or i/o port selected in the [display:] list to the top of the list. moves the sfr or i/o port selected in the [display:] list up one line in the list. moves the sfr or i/o port selected in the [display:] list to down one line in the list. moves the sfr or i/o port selected in the [display:] list to the bottom of the list. (3) display order of non-display list change button this button selects the display order in the [no display:] list. sfrs or i/o ports are displayed in alphabetical order using the button and in address order using the button. the function of each button is as follows. displays the list in [no display:] in alphabetical order. displays the list in [no display:] in address order. function buttons reflects the result of selection and specification of display order in the sfr window and closes the sfr select dialog box. cancels the change and closes this dialog box. cancels the change and restores the original setting. opens the help window.
chapter 6 window reference user?s manual u15185ej1v0um 225 add i/o port dialog box general registers an i/o port to be added to the sfr window. opening method this dialog box can be opened by either of the following methods. ? in the main window select [option] [add i/o p ort?] from the menu bar. press grph + o , and p keys in that order. window figure 6-50. add i/o port dialog box function the add i/o port dialog box consists of the following areas. ? i/o port select area ? i/o port name specification area ? i/o port address specification area ? access size specification area ? access attribute specification area the function of each area is explained below. (2) i/o port name specification area (3) i/o port address specification area (1) i/o port select area (4) access size specification area (5) access attributes specification area
chapter 6 window reference user?s manual u15185ej1v0um 226 (1) i/o port select area this area displays a list of the currently entered i/o ports. if a new i/o port is entered, it is added to this list. an i/o port that has already been entered can also be selected and changed or deleted. (2) i/o port name specification area this area specifies the name of the i/o port to be added. an i/o port name with up to 15 characters can be specified. (3) i/o port address specification area this area specifies the i/o port address to be added. addresses can be specified using symbols or expressions. the specification method is the same as in the case of the address move dialog box. the default radix when inputting numerical values is hexadecimal. (4) access size specification area this area specifies the access size of the added i/o port. byte: 8 bits (default) word: 16 bits word access can be specified only for sfrs or external sfrs.
chapter 6 window reference user?s manual u15185ej1v0um 227 (5) access attribute specification area this area specifies the access attributes of the added i/o port. read only: sets exclusive read only. write only: sets exclusive write only. read protect: sets read protect. in the default (all unchecked state), read and write are both enabled. function buttons reflects the add results in the sfr window and closes the add i/o port dialog box. cancels the change and closes this dialog box. cancels the change and restores the original state. opens the help window. adds the i/o port with the specified address. changes the settings for the selected i/o port. deletes the selected i/o port.
chapter 6 window reference user?s manual u15185ej1v0um 228 local variable window general this window displays or changes the local variable in the current function. opening method this window can be opened by the following methods. ? in the main window select [browse] [l ocal variable] from the menu bar. press the grph + b , and l keys in that order. click the button on the toolbar. window figure 6-51. local variable window function displays or changes the local variable. this window automatically displays the local variable in the current function. variables cannot be added or deleted. the boundary line between the local variable name display area and local variable value display/setting area can be moved to the left or right by the mouse. the boundary can be moved by dragging when the mouse cursor changes from ? ? to ? ? ?. (1) local variable name display area (2) local variable value display/setting area
chapter 6 window reference user?s manual u15185ej1v0um 229 the local variable window consists of the following areas. ? local variable name display area ? local variable value display/setting area the function of each area is explained below. (1) local variable name display area this area displays local variable names. the type and variable name are shown. these are displayed in the same way as in the watch window. also, it is possible to have an expansion display like in the watch window. however, variable names that have become invalid due to optimization compilation, etc., are not displayed. the auto variable, internal static variable and the register variable can be displayed. caution a local variable cannot be displayed if the value of the program counter (pc) is in the prologue or epilogue of a function. (2) local variable value display/setting area this area displays/changes local variable values. the variable value is displayed in the same way as in the watch window. change contents are written to the target by pressing the enter key. the contents prior to the change can be erased using the esc key.
chapter 6 window reference user?s manual u15185ej1v0um 230 function buttons updates the contents of the window with the latest data. closes this window.
chapter 6 window reference user?s manual u15185ej1v0um 231 stack window general this window displays and changes the current stack contents of the user program. opening method this window can be opened by the following methods. ? in the main window select [browse] [stack trace] from the menu bar. press the grph + b , and k keys in that order. click the button on the toolbar. window figure 6-52. stack window (1) stack frame number display area (2) stack frame contents display area (3) stack contents display/setting area
chapter 6 window reference user?s manual u15185ej1v0um 232 function displays and changes the stack contents. if the full traced contents cannot be displayed, a vertical scroll bar is displayed so that the contents can be scrolled. the boundary between the stack frame contents display area and the stack contents display/setting area can be moved to the left or right by the mouse. to move the boundary, drag the mouse cursor at the point when it changes from ? ? to ? ? ?. this window has an active state only. this window consists of the following areas. ? stack frame number display area ? stack frame contents display area ? stack contents display/setting area the function of each area is explained below. (1) stack frame number display area this area displays the stack frame numbers. the stack frame number is a natural number starting from 1, and the shallower the stack nest is, the larger this number becomes. a stack number that is 1 larger than a certain function is the calling function of that function. (2) stack frame contents display area this area displays the stack frame contents. the function or local variable names are displayed.
chapter 6 window reference user?s manual u15185ej1v0um 233 if the stack contents are functions, they is displayed by [program name $ file name # function name (index list) # line no.]. the delimiter between the program name and the file name is a ?$? and the delimiter between the file name and the function name is a ?#?. the ?#? is also used as the delimiter between the function name and the line no. the local variable list is not expanded and not displayed by clicking the shrink button, and is expanded and displayed by clicking the expand button. if there are local variables in a function, the local variables are displayed on the following and subsequent lines. if the contents of the stack are local variables, the type and variable name is displayed. they are displayed in the same way as in the watch window. whether to display or not display the variable type can be set in the debugger option dialog box. note that internal static variables and register variables other than current functions are not displayed. caution if ?automatically assign to auto variable register, saddr area (-qv1 or -qv2)? or ?access sp argument/auto variable (-qf)? is specified by an option of the cc78k4, the stack frame cannot be correctly displayed. (3) stack contents display/setting area this area displays and changes the contents of the stack. ??? or local variable values are displayed. if the stack contents are functions, a ??? is displayed and the contents cannot be changed. if the stack contents are local variables, the variable values are displayed. variable values are displayed in the same way as in the watch window. it is possible to change variable values. changed contents are written to the target by pressing the enter key. the contents prior to the change can be erased using the esc key. other than displaying the stack contents, this area has the following functions. (a) jump function jumps to the source window, assemble window, memory window, or coverage window note by using the function indicated by the stack frame number at the cursor as a jump pointer. the jump destination window displays the jump pointer at the beginning. this function is executed by performing the following operations in the sequential order. note not supported in the id78k4-ns <1> position the cursor in the stack contents display/setting area. <2> perform one of the following operations on the main window.
chapter 6 window reference user?s manual u15185ej1v0um 234 ? if the jump destination is the source window select [jump] [s ourcetext] from the menu bar. press the grph + j , and s keys in that order. press shortcut keys ctrl + u . ? if the jump destination is the assemble window select [jump] [a ssemble] from the menu bar. press the grph + j , and a keys in that order. press shortcut keys ctrl + d . ? if the jump destination is the memory window select [jump] [me mory] from the menu bar. press the grph + j , and e keys in that order. press the shortcut keys ctrl + m . ? if the jump destination is the coverage window note select [jump] [c overage] from the menu bar. press the grph + j , and c keys in that order. press the shortcut keys ctrl + i . note not supported in the id78k4-ns details of the jump destination are as follows. type of function description of operation function with the shallowest nest (in the case of the current function) ? if the jump destination is the source window, it jumps to the current pc line. ? if the jump destination is other than the source window, it jumps to the current pc address. functions with nests below (in the case of a function other than the current function) ? if the jump destination is the source window, it jumps to the line where the function nested below is called. ? if the jump destination is other than the source window, it jumps to the next address of the instruction that is calling the function nested below. function buttons updates the contents of the window with the latest data. closes this window. cancels expanded display of the local variable list of the selected function. this button changes to expand when it is selected. expands and displays the local variable list of the selected function. this button changes to shrink when it is selected.
chapter 6 window reference user?s manual u15185ej1v0um 235 cautions (1) if the stack trace display function has a function that does not push the frame pointer (hl) to a stack frame (such as the noauto or norec function) or the -qf option is added as an optimization option when compiling, it may not be displayed correctly. (2) [error] may be displayed during function prologue processing or epilogue processing.
chapter 6 window reference user?s manual u15185ej1v0um 236 trace view window general this window displays the trace results. opening method this window can be opened by the following methods. ? in the main window select [browse] [t race] from the menu bar. press the grph + b , and t keys in that order. click the button on the toolbar. window figure 6-53. trace view window function displays the trace results. the contents can be scrolled by the vertical scroll bar. it is also possible to move up one page or down one page using the button or button. there are two modes in the trace view window, the normal display mode and the mixed display mode. ? normal display mode: displays the trace results only. ? mixed display mode: displays the source file together with the trace results.
chapter 6 window reference user?s manual u15185ej1v0um 237 the trace view window can be opened only in the active state and the window?s display is updated during a break or step execution. the tracer has a ring structure. for that reason, if data exceeding a valid frame is written, the oldest data is overwritten. also, in the display, the frames are displayed in frame order with the oldest data as frame 0. block information is written to the tracer between the end of one execution of the user program and the beginning of the next one. a horizontal line is displayed indicating the block information display in each display area. block information is written in the following cases, depending on the previous and subsequent execution mode. previous execution mode execution mode this time real-time execution when executing real-time execution when executing step execution step execution when executing real-time execution when executing step execution after changing execution address to clear the trace contents, select [option] [t race clear] . note that, operation with respect to a tracer during program execution is performed by selecting [run] [trac er start/close] (this is possible only when executing with a break ignored). the trace view window consists of the following areas. ? point mark display area ? trace mode display area ? trace result display area the function of each area is explained below. (1) point mark display area this area displays the setting states of various events. if an execution event or fetch event (access operation) is set to the corresponding trace address, the mark corresponding to the type of the event is displayed. note that the marks displayed are not marks from tracing but are event marks set when the trace results are displayed.
chapter 6 window reference user?s manual u15185ej1v0um 238 mark meaning e shows that an event condition is set. l shows that the final level of an event link is set. b shows that a break event is set. t shows that a trace event is set. ti note 1 shows that a timer event is set. s note 1 shows that a snapshot event is set. a shows that two or more events are set. m note 2 shows that a dmm event is set notes 1. not supported in the id78k4-ns 2. supported only in the id78k0s-ns (2) trace mode display area this area displays the type of trace mode. the display contents are as follows. a: all traces or section-traced frames q: qualify-traced frames s: step execution frames t: delay trigger frames ?t? is displayed for all the frames in which a delay trigger is generated. ?q? is displayed when the qualify trace condition is met while the section trace condition has been met.
chapter 6 window reference user?s manual u15185ej1v0um 239 (3) trace result display area this area displays the trace results. if this area is selected, the jump function and the window linking function can be used. the following contents are displayed in the trace results display area. note that display or non-display of each area can be selected in the trace data select dialog box. ? trace frame number display ? time tag display note 1 ? fetch access display ? data access display ? external sense data display note 1 ? branch source address display note 2 ? mnemonic display notes 1. this is valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0- ns-a or ie-78k0s-ns-a is used, or when the ie-784000-r is used. 2. supported only in the id78k4 (a) trace frame number display (frame) this is where the trace frame number is displayed. (b) time tag display (time) displays the clocks required for the target chip from the start of execution of the previous trace contents to the start of execution of the current trace contents. this is valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns-a or ie- 78k0s-ns-a is used, or when the ie-784000-r is used. the count division rate can be changed in the extended option dialog box. the trace data select dialog box can select the display or non-display of the time tag. the time tag display can be switched between clock count display and time display. time tag value number of clocks division ratio 1 division ratio 2 division ratio 4 division ratio 8 11111 22222 33222 44322 55322 66432 77432 88532 99532
chapter 6 window reference user?s manual u15185ej1v0um 240 (c) fetch access display (address data status) this is where the fetch results of the program and the snap contents are displayed. this field is displayed as follows depending on the status displayed in the status display field (status). item display contents m1 program fetch display (the first byte fetch of the instruction) op program fetch display (2nd and subsequent op code fetch) if program fetch display (invalid fetch or status unknown) snap note 1 snap display brm1 note 2 the first byte fetch of the first instruction after a branch. status other than above no display (blank) notes 1. this is valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns-a or ie-78k0s-ns-a is used, or when the ie-784000-r is used. 2. supported only in the id78k4 (-ns) in the case of the program fetch display, the display is as follows. item display contents address fetch address display data fetch data display note that display/non-display of fetch operation access can be selected in the trace data select dialog box. in the case of the snap display, the display is as follows. item snap type display contents register register name sfr sfr name address memory memory address register register name sfr sfr name data memory memory contents
chapter 6 window reference user?s manual u15185ej1v0um 241 (d) data access display (address data status) this is where the data access results are displayed. [id78k0 (-ns), id78k0s (-ns)] items display contents vect vector read rw data read/write r data read status w data write address address display data data display [id78k4 (-ns)] items display contents vect vector read rw data read/wirte note r data read note w data wirte note rwp data read/write by user program rp data read by user program wp data write by user program rwm data read/write by macro service rm data read by macro service status wm data write by macro service address address display data data display note supported only in the id78k4
chapter 6 window reference user?s manual u15185ej1v0um 242 (e) external sense data display (ext probe) this is where the input level of the external sense clip at trace time is displayed. the correspondence of each bit is as follows. [ID78K0-NS, id78k0s-ns] this is valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns-a or ie- 78k0s-ns-a is used, or when the ie-784000-r is used. external sense data display external sense clip number bit 15 no.16 bit 14 no.15 bit 13 no.14 bit 12 no.13 bit 11 no.12 bit 10 no.11 bit 9 no.10 bit 8 no.9 bit 7 no.8 bit 6 no.7 bit 5 no.6 bit 4 no.5 bit 3 no.4 bit 2 no.3 bit 1 no.2 bit 0 no.1 [id78k0, id78k4] external sense data display external sense clip number bit 7 no.8 bit 6 no.7 bit 5 no.6 bit 4 no.5 bit 3 no.4 bit 2 no.3 bit 1 no.2 bit 0 no.1 note that display/non-display of external sense data can be selected in the trace data select dialog box.
chapter 6 window reference user?s manual u15185ej1v0um 243 (f) branch source address display (jmpaddress) note this is where the last address at the branch destination is displayed. this is displayed only when the status is brm1. whether the branch source address is displayed or not can be selected in the trace data select dialog box. note supported only in the id78k4 (g) mnemonic display (disasm) this is where the disassemble result is displayed. this is displayed only when the status of the fetch operation access display is m1. in the trace results display area, the normal display mode and mixed display mode can be switched by selecting [view] [m ix] from the menu bar. ? normal display mode normal display mode is the mode in which only the trace results are shown. ? mixed display mode mixed display mode is the mode in which the source file is displayed in combination with the trace results. if the program code corresponds to the displayed program fetch address line, the source file line is displayed before that trace results line. when the load module is downloaded and symbol information is being read, the mixed display mode becomes valid only in cases where fetch address, fetch data, fetch status, or disassemble results are being displayed. even in cases where [view] [m ix] is selected on the menu bar and mixed display mode is selected, if none of the above items is being displayed, the display is normal. the source file line?s display color is changed and is highlighted in green. the jump function and window link function are detailed below. ? jump function ? window link function (i) jump function the jump function is executed by carrying out the following operations in order. <1> move the cursor to the jump source line. <2> in the main window, do one of the following operations. ? if the jump destination window is the source window select [jump] [s ource] from the menu bar. press the grph + j , and s keys in that order. press the shortcut keys ctrl + u . ? if the jump destination window is the assemble window select [jump] [a ssemble] from the menu bar. press the grph + j , and a keys in that order. press the shortcut keys ctrl + d .
chapter 6 window reference user?s manual u15185ej1v0um 244 ? if the jump destination window is the memory window select [jump] [me mory] from the menu bar. press the grph + j , and e keys in that order. press the shortcut keys ctrl + m . ? if the jump destination window is the coverage window (this is valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0- ns-a or ie-78k0s-ns-a is used, or when the ie-784000-r is used.) select [jump] [c overage] from the menu bar. press the grph + j , and c keys in that order. press the shortcut keys ctrl + i . the address used as the jump source changes according to the cursor position. cursor position jump pointer access address display area access address note access data display area access address note access status display area access address note other than above fetch address note if the jump destination is the source window or the assemble window, the fetch address is made the jump pointer. (ii) window link function the window link function can be used by carrying out the following operations in order. <1> make the trace view window the current window and select the window to be synchronized with from among the items in [view] [window syn chronize] on the menu bar items in [window synchronize] linked window source source window assemble assemble window memory memory window coverage note coverage window note this is displayed when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie- 78k0-ns-a or ie-78k0s-ns-a is used, or when the ie-784000-r is used. <2> move the cursor to the synchronization origin line in the trace results display area in the trace view window. if the window to be synchronized with is not open in the active state, it will open in the active state. <3> the trace results address selected in <2> is used as the pointer, and the linked contents are displayed in the corresponding window selected in <1>, or the cursor is positioned there.
chapter 6 window reference user?s manual u15185ej1v0um 245 in the case of window linking, the address which is the link origin also changes as follows in accordance with the cursor position. cursor position jump pointer access address display area access address note access data display area access address note access status display area access address note other than above fetch address note if the linking destination is the source window or the assemble window, the fetch address is always made the jump pointer. unlike the jump function, if the cursor?s position is moved in the trace view window, the cursor or the highlighted display in each linked window is also moved. unlike for the jump function, for the window link function, if the cursor is moved on the trace window, the cursor and display in reverse video on each of the linked windows are also moved. function buttons opens the trace search dialog box and searches trace results or performs pick up. search results are highlighted in the trace view window. in the pick up display mode note , frames which matched the search conditions are picked up and displayed. this button cannot be selected when a snap frame is picked up and displayed. searches for the trace results that match the search conditions set in the trace search dialog box in the backward direction from the cursor position frame (toward the top of the display). this button cannot be selected in the pick up display. searches for the trace results that match the search conditions set in the trace search dialog box in the forward direction from the cursor position frame (toward the bottom of the display). this button cannot be selected in the pick up display. updates the contents of the window with the latest data. close this window. note the pick up display mode is when [view] [pick up] [s earch] is selected or when ?pick up search frame? is selected in the trace data select dialog box.
chapter 6 window reference user?s manual u15185ej1v0um 246 trace search dialog box general searches trace data. if search frame pick up is specified from the [view] menu, or the trace data select dialog box (pick up display mode), pick up of trace data is executed. opening method this dialog box can be opened by one of the following methods when the current window is the trace view window. ? in the main window select [view] [s earch?] from the menu bar. press the grph + v , and s keys in that order. ? in the trace view window click the button. press the shortcut keys ctrl + g . window figure 6-54. trace search dialog box (1/2) when pick up is not displayed (1) status select area (5) external sense data setting area (2) access size select area (6) search conditions specification area (3) address setting area (7) search direction specification area (4) data setting area (8) search range specification area (1) (3) (4) (5) (6) (8) (7) (2)
chapter 6 window reference user?s manual u15185ej1v0um 247 figure 6-54. trace search dialog box (2/2) when pick up is displayed functions trace data is searched and picked up. ? if [view] [pick up] [o ff] is selected from the menu bar, or [pick up o ff] is selected in the trace data select dialog box, a trace data search is executed. ? if [view] [pick up] [s earch] is selected from the menu bar, or [pick up s earch frame] is selected in the trace data select dialog box (pick up display mode), trace data pick up is executed. note that if pick up of a snap frame is specified from the menu bar or the trace data select dialog box, the trace search dialog box cannot be called. the trace search dialog box consists of the following areas. ? status select area ? access size select area ? address setting area ? data setting area ? external sense data setting area ? search conditions specification area ? search direction specification area ? search range specification area the function of each area is explained below.
chapter 6 window reference user?s manual u15185ej1v0um 248 (1) status select area this area sets and selects the status conditions. the status conditions that can be specified are shown below. it is possible to specify the status condition in abbreviated form. there is no distinction between uppercase and lowercase characters in the input status condition. [id78k0 (-ns), id78k0s (-ns)] status abbreviated form meaning m1 fetch m1 m1 fetch r/w rw data read/write (including r, w) read r data read write w data write vector read vect vector read by an interrupt all status all all of the above specifications (m1, rw, r, w, vect) [id78k4 (-ns)] status abbreviated form meaning all status all all frames below (brm1, m1, r, w, vect) brm1 fetch brm1 first m1 fetch after program branch m1 fetch m1 m1 fetch (including brm1) r/w rw data read/write (including r and w) note read r data read note write w data write note r/w by macro rwm data read/write by macro service (including rm and wn) read by macro rm data read by macro service write by macro wm data write by macro service r/w by program rwp data read/write by program (including rp and wp) read by program rp data read by program write by program wp data write by program vector read vect vector code by interrupt note supported only in the id78k4 if the status condition setting is omitted, all the frames become search objects.
chapter 6 window reference user?s manual u15185ej1v0um 249 (2) access size select area this area sets and selects the access size conditions. by specifying the access size conditions, the access width for the data condition during a trace data search is determined. the access size conditions that can be specified are shown below. it is possible to specify the access size conditions in abbreviated form. there is no distinction between uppercase and lowercase characters in the input access size condition. size abbreviated form meaning byte b search is made with an 8-bit width as the data condition. search is made only during 8-bit access. word note w search is made with a 16-bit width as the data condition. search is made only during 16-bit access. no condition nc an access-size search is not executed. bit 1 detection is carried out with a 1-bit width as the data condition. detection is carried out only during 8-bit access. note supported only in the id78k4 (-ns) when an op code fetch access event is specified as a status condition, the selection of bit is not displayed. even if bit or 1 is selected, an error will occur. if bit is specified as the access size condition, the search is made with a 1-bit width as the data condition. however, due to emulator operation, access to the bit itself cannot be traced directly and the debugger searches for a pseudo bit access by setting the address conditions and data conditions internally as follows. input example trace search setting address fe20.1 address fe20 data 1 data 00000010b mask 11111101b for that reason, for access to other bits in the same address, or even for access to all 8 bits in the same address, if the values match the specified values (address, bit), trace data is searched for in accordance with the specified status. ? if no condition is specified, the data setting area is displayed in gray and input is not possible. ? if the access size condition setting is omitted, it is judged automatically from the address conditions and data conditions and set. ? if a bit is set for the address condition, the condition becomes bit. ? if 8 bits is set for the data condition, the condition becomes byte. ? if the data condition specification is omitted, the condition becomes no condition.
chapter 6 window reference user?s manual u15185ej1v0um 250 (3) address setting area this area sets the address condition. the setting range is as follows. [id78k0 (-ns)] (when a bank is not used) setting range: 0 address value 0xffff 0 mask value 0xffff (when a bank is used) setting range: 0 address value (n note << 16)|0xffff 0 mask value (n note << 16)|0xffff note n is the maximum bank number used. [id78k0s-ns] setting range: 0 address value 0xffff 0 mask value 0xffff [id78k4 (-ns)] (execution or fetch event) setting range: 0 address value 0xfffff 0 mask value 0xfffff (data access event) setting range: 0 address value 0xffffff 0 mask value 0xffffff note n is the maximum bank number used. there are two types of address conditions: address, where the address value is set, and mask, where the mask value for the address value is input. the setting method is shown below. (a) address input the lower address and higher address, in that order. the following three types of settings are possible for the address condition. <1> point setting for a point setting, set a value in the lower address only, or set the same value in both the lower address and the higher address. a mask setting can be made. <2> range setting for a range setting, set values in the lower address and the higher address. mask settings cannot be made. note that if the same value is input for the lower address and the higher address, it is not handled as a range setting. in this case, it becomes a point setting or a bit setting.
chapter 6 window reference user?s manual u15185ej1v0um 251 <3> bit setting for a bit setting, set a value in the lower address only, or set the same value in the lower address and the higher address. specify the value in the address.bit format. mask settings cannot be made. the value of the bit that shows the bit position must be 0 bit 7. for the address value, it is possible to specify a symbol or an expression. the specification method is the same as in the address move dialog box. the default radix when numerical values are input is hexadecimal. if the address condition setting is omitted, detection of the address condition is not performed. (b) mask set the mask value for the address value. when mask setting is made, for a bit with a mask value of 1, it doesn?t matter if the address value is 0 or 1. example 1. address: 0x4000 to 0x4000 mask: 0xff in this kind of setting, the conditions match up to addresses 0x4000 to 0x40ff. 2. address: 0x4000 to 0x4000 mask: 0x101 in this kind of setting, addresses 0x4000, 0x4001, 0x4100 and 0x4101 match the conditions. if the mask value setting is omitted, masking is not executed. the default radix when numerical values are input is hexadecimal. (4) data setting area this area sets the data condition. the setting range is as follows. access size condition setting range byte 0 data value 0xff 0 mask value 0xff word note 0 data value 0xffff 0 mask value 0xffff bit data value = 0, 1 mask value = cannot be specified. note supported only in the id78k4 (-ns) there are two types of data conditions: data, where the data value is set, and mask, where the mask value for the data value is set. the setting method is shown below.
chapter 6 window reference user?s manual u15185ej1v0um 252 (a) data specify the data value. it is also possible to set a symbol or expression for the data value. the specification method is the same as in the case of the symbol to address dialog box, but the default radix when numerical values are input is hexadecimal. if the data condition setting is omitted, data conditions are not detected. (b) mask set the mask value for the data value. when mask setting is made, for a bit with a mask value of 1, it doesn?t matter if the data value is 0 or 1. example 1. data: 0x4000 mask: 0xff in this kind of setting, the conditions match when the data value is 0x4000 to 0x40ff. 2. data: 0x4000 mask: 0x101 in this kind of setting, when the data are 0x4000, 0x4001, 0x4100, and 0x4101, they match the conditions. if the mask value setting is omitted, masking is not executed. the default radix when numerical values are input is hexadecimal. (5) external sense data setting area the external sense data cannot be set in this version. (6) search conditions specification area this check box specifies whether to search the whole specified region or not when conducting a search. with the default, only the portion remaining in the range is searched. searches the remaining portion of the range (default). searches the whole range.
chapter 6 window reference user?s manual u15185ej1v0um 253 (7) search direction specification area specify the search direction. there are two search directions, an upward search and a downward search. up: upward search. this searches in the forward direction from the current cursor position (toward the top of the display). down: downward search. this searches in the backward direction from the current cursor position (toward the bottom of the display) (default). (8) search range specification area this area specifies the frame number that is being searched for. the specification method is the same as in the case of the trace move dialog box, but the default radix during input of numerical values is decimal. function buttons searches from the trace results in accordance with the specified conditions. from the search results, the frames that match are highlighted in the trace view window. for a continuous search, click this button again. sets the specified conditions as the search conditions and closes the trace dialog box. search is executed by the and buttons in the trace view window. pick up the specified search data from the trace results in accordance with the conditions. (during pick only the frames that match the trace window conditions are displayed. to change the up display) conditions and conduct pick up again, click this button again. this closes the trace search dialog box. this opens the help window that explains the trace search dialog box.
chapter 6 window reference user?s manual u15185ej1v0um 254 trace data select dialog box general selects the items to be displayed in the trace view window. opening method this dialog box can be opened by the following methods when the current window is the trace view window. ? in the main window select [view] [se lect] from the menu bar. press the grph + v , and e keys in that order. window figure 6-55. trace data select dialog box note supported only in the id78k0 (1) trace display item select area (2) trace display radix select area (3) pick up select area (4) i/o port select area note
chapter 6 window reference user?s manual u15185ej1v0um 255 function the trace data select dialog box consists of the following areas. ? trace display item select area ? trace display radix select area ? pick up select area ? i/o port select area (id78k0 only) the function of each area is explained below. (1) trace display item select area this area selects the items to be displayed in the trace view window. the following items can be selected to be displayed or not displayed. if there is a check mark, that area is displayed. frame: frame no. display field timetag note : time tag display field clock: clock display (default) time: time display instruction fetch address: fetch address display field instruction fetch data: fetch data display field instruction fetch status: fetch status display field memory access address: access address display field memory access data: access data display field memory access status: access status display field external probe note : external sense data display field disassemble: disassemble display field note this is displayed when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns-a or ie-78k0s-ns-a is used, or when the ie-784000-r is used.
chapter 6 window reference user?s manual u15185ej1v0um 256 (2) trace display radix select area this area selects the radix to be displayed. the display radix can be selected for the following items. instruction fetch data: fetch data display field memory access data: access data display field external probe note 1 : external sense data display field port note 2 : i/o port data display field notes 1. this is valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns-a or ie-78k0s-ns-a is used, or when the ie-784000-r is used. 2. supported only in the id78k0 the display radix can be selected from the following. hex: displayed in hexadecimal dec: displayed in decimal oct: displayed in octal bin: displayed in binary (3) pick up select area this area selects the pick up conditions. pick up off: pick up is not displayed. pick up search frame: picks up and displays frames which match the search conditions. pick up snap frame note 1 : picks up and displays snap frames. pick up brm1 frame note 2 : picks up and displays the first m1 fetch frame (brm1) after a program branch. notes 1. this is valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns-a or ie-78k0s-ns-a is used, or when the ie-784000-r is used. 2. cannot be selected in this version.
chapter 6 window reference user?s manual u15185ej1v0um 257 (4) i/o port select area (id78k0 only) whether each i/o port data is displayed or not can be selected. function buttons reflects the result of selection in the trace view window. closes this dialog box. cancels the change and restores the original setting. opens the help window.
chapter 6 window reference user?s manual u15185ej1v0um 258 coverage window (this is valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns-a or ie- 78k0s-ns-a is used, or when the ie-784000-r is used.) general this window displays the coverage result. opening method this window can be opened by the following methods. ? in the main window select [browse] [co verage] from the menu bar. press the grph + b , and o keys in that order. click the button on the toolbar. window figure 6-56. coverage window
chapter 6 window reference user?s manual u15185ej1v0um 259 function displays the coverage result. the vertical scroll bar is displayed at all times and the contents can be scrolled. it is also possible to move up one page or down one page using the button or button. the coverage window has two states, the active state and the static state. there can be only one coverage window in the active state, but multiple windows can be opened in the static state at the same time. active state: the coverage window in the active state has a display position and contents which are synchronized with the current pc value and which are updated automatically. also, in addition to becoming a jump destination for the jump function, if it is synchronized with the trace view window, the coverage window?s display is updated in synchronization with the trace view window. the first coverage window to be opened is in the active state. static state: when in the static state, the coverage window?s contents are updated in synchronization with the current pc value, but the display position does not move. also, it does not become a jump destination and is not synchronized with the trace view window. if a coverage window in the active state has already been opened, a new window is opened in the static state. coverage measurement is enabled by selecting the check box in [option] [cover age on]. note that operations with respect to coverage measurement while a program is being executed are executed by [run] [cov erage start/stop]. the coverage window consists of the following areas: ? address display area ? coverage display area the function of each area is explained below. (1) address display area this area displays coverage addresses. the id78k4 displays 5-digit (20-bit) addresses.
chapter 6 window reference user?s manual u15185ej1v0um 260 (2) coverage display area this area displays the coverage result. the symbols displayed in this area have the following meanings. when in 1-byte display mode symbol meaning . nothing has been executed. x execution only r read only w write only a read and write $ execute and read # execute and write % all execution, reading, and writing have been performed. when in 64-/1,024-byte display mode symbol meaning . no execution, read, and write operations concerning the addresses within the 64-/1,024-byte area were performed. x all addresses in the 64-/1,024-byte area were executed. r all addresses in the 64-/1,024-byte area were read. w all addresses in the 64-/1,024-byte area were written. a reading and writing were executed at all addresses in the 64-/1,024- byte area. $ execution and reading were performed at all addresses in the 64-/1,024- byte area. # execution and writing were performed at all addresses in the 64-/1,024- byte area. % all execution, read, and write operations concerning all addresses within the 64-/1,024-byte area were performed. this area has two functions besides displaying the coverage results.
chapter 6 window reference user?s manual u15185ej1v0um 261 (a) jump function jumps to the source window, assemble window, or memory window using the address at the cursor as a jump pointer. the jump destination window is displayed with the jump pointer at the beginning. this function is executed by performing the following operations in sequential order. <1> position the cursor. <2> perform one of the following operations in the main window. ? if the jump destination is the source window select [jump] [s ourcetext] from the menu bar. press the grph + j , and s keys in that order. press shortcut keys ctrl + u . ? if the jump destination is the assemble window select [jump] [a ssemble] form the menu bar. press the grph + j , and a keys in that order. press shortcut keys ctrl + d . ? if the jump destination is the memory window select [jump] [me mory] from the menu bar. press the grph + j , and e keys in that order. press shortcut keys ctrl + m . (b) window link function uses the coverage results to show the linked relationship between the trace view window and the coverage window. the coverage results that are the target of linking with the trace view window are positioned by the cursor. for details, refer to the window link function of the trace view window . function buttons opens the coverage search dialog box and searches for coverage results. search results are highlighted in the coverage window. this button can be selected when in 1-byte display mode only. searches the coverage results which match the search conditions, and which have been set in the coverage search dialog box, from the cursor position toward the beginning (toward the top of the display). this button can be selected when in 1-byte display mode only. it changes to the button during a search. searches the coverage results which match the search conditions, and which have been set in the coverage search dialog box, from the cursor position toward the end (toward the bottom of the display). this button can be selected when in 1-byte display mode only. it changes to the button during a search.
chapter 6 window reference user?s manual u15185ej1v0um 262 interrupt a search. during a search, the and buttons change to the button. updates the window?s contents with the latest data. closes this window.
chapter 6 window reference user?s manual u15185ej1v0um 263 coverage search dialog box (this is valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns-a or ie- 78k0s-ns-a is used, or when the ie-784000-r is used.) general searches the coverage result. this can be called only when in 1-byte mode display. opening method this dialog box can be opened by the following methods when the current window is the coverage window. ? in the main window select [view] [s earch?] from the menu bar. press the grph + v , and s keys in that order. ? in the coverage window click the button. press the shortcut keys ctrl + g . window figure 6-57. coverage search dialog box
chapter 6 window reference user?s manual u15185ej1v0um 264 functions searches for coverage results. unmapped areas are not searched. also, searches cannot be performed when there are unmapped areas between areas to be searched. the coverage search dialog box consists of the following areas. ? search data specification area ? search condition specification area ? search direction specification area ? search range specification area the function of each area is explained below. (1) search data specification area the search conditions can be specified from these 8 check boxes. the meanings of the respective symbols are as shown below. symbol meaning no use [.] nothing has been executed. read [r] read only write [w] write only read x write [a] read and write execute [x] execute only execute x read [$] execute and read execute x write [#] execute and write execute x read x write [%] all execution, reading, and writing has been performed. if multiple search conditions have been selected, whichever one of the conditions matches is searched (an or search).
chapter 6 window reference user?s manual u15185ej1v0um 265 (2) search condition specification area this is a check box which specifies whether to search the whole specified region or not when conducting a search. with the default, only the portion remaining in the range is searched. searches the remaining portion of the range (default). searches the whole range. (3) search direction specification area this area specifies the search direction. there are two search directions, an upward search and a downward search. up: upward search. searches the data from the current cursor position toward the beginning (upward on display). down: downward search. searches the data from the current cursor position toward the end (downward on display). (4) search range specification area this area specifies the address that is being searched for. addresses can be specified using a symbol or expression. the specification method is the same as in case of the address move dialog box. the default radix during input of numerical values is hexadecimal. function buttons searches from the coverage results in accordance with the specified conditions. for the search results, the frames that match are highlighted. for continuous search, click this button again. sets the specified conditions as the searched conditions and closes this dialog box. interrupts a search. during a search, the button changes to the button. closes the coverage search dialog box. it changes to the button during a search. opens the help window that explains this dialog box.
chapter 6 window reference user?s manual u15185ej1v0um 266 coverage-clear dialog box (this is valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns-a or ie- 78k0s-ns-a is used, or when the ie-784000-r is used.) general clears the coverage results. opening method this dialog box can be opened by the following methods. ? in the main window select [option] [co verage] [cl ear?] from the menu bar. press the grph + o , o , and l keys in that order. window figure 6-58. coverage-clear dialog box function clears the coverage measurement results in the specified address range. it initializes the coverage window and the contents in the coverage-efficiency view dialog box. the coverage-clear dialog box consists of the following area. ? address specification area the function of this area is explained below. (1) address specification area this area specifies the addresses in the coverage results to be cleared. addresses can also be specified using symbols or an expression. the specification method is the same as in the case of the address move dialog box. the default radix during input of numerical values is hexadecimal.
chapter 6 window reference user?s manual u15185ej1v0um 267 function buttons clears the coverage results in the address range specified by the address specification area and closes the dialog box. interrupts clearing the coverage results. during the coverage result clear operation, the button changes to the button. closes this dialog box. it changes to the button during the coverage result clear operation. cancels the change and restores the original setting. opens the help window.
chapter 6 window reference user?s manual u15185ej1v0um 268 coverage-condition setting dialog box (this is valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns-a or ie- 78k0s-ns-a is used, or when the ie-784000-r is used.) general specifies the coverage efficiency measurement range. opening method this dialog box can be opened by the following methods. ? in the main window select [option] [co verage] [co ndition ] from the menu bar. press the grph + o , o , and o keys in that order.  click the button in the coverage-efficiency view dialog box. window figure 6-59. coverage-condition setting dialog box (4) coverage condition specification area (1) select list display area (2) address specification area (3) function specification area
chapter 6 window reference user?s manual u15185ej1v0um 269 function the coverage-condition setting dialog box consists of the following areas. ? select list display area ? address specification area ? function specification area ? coverage condition specification area the function of each area is explained below. (1) select list display area displays the currently selected lists. selected lists can be added by the following two methods. (a) when adding from the function list <1> specify the status conditions in the status condition specification area. <2> select the function to be added to the function specification area and click the button. the specified function can be deleted from the list by using the button. note it is meaningless to select an instruction other than execute. (b) when specifying and adding an address <1> specify the status conditions in the status condition specification area. <2> input the address range to the address specification area and click the button. the specified address range can be deleted from the list by using the button. (2) address specification area this area is used to input the coverage efficiency address range conditions. addresses can also be specified by a symbol or expression. the specification method is the same as in the case of the address move dialog box. the default radix during input of numerical values is hexadecimal.
chapter 6 window reference user?s manual u15185ej1v0um 270 (3) function specification area this area is used to input the coverage efficiency address conditions in function units or to select the function name from the drop-down list. function names registered to the load module file are displayed. (4) status condition specification area this area selects the coverage efficiency status conditions. the selectable status conditions are as follows: status description execute proportion of program execution performed. read proportion of memory read performed. write proportion of memory write performed. all proportion of either program execution, memory read or memory write performed. function buttons closes the coverage-condition setting dialog box. displays the coverage efficiency. opens the coverage-efficiency view dialog box. cancels the changes and restores the original setting. opens the help window. clears the contents in the select list display area. deletes the function name or the address range specified in the select list display area from the list. enters the function name specified in the function specification area or the address range specified in the address specification area in the select list display area.
chapter 6 window reference user?s manual u15185ej1v0um 271 coverage-efficiency view dialog box (this is valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns-a or ie- 78k0s-ns-a is used, or when the ie-784000-r is used.) general displays the coverage results in the range specified in the coverage-condition setting dialog box as coverage efficiency. opening method this dialog box can be opened by the following methods. ? in the main window select [option] [co verage] [e fficiency ] from the menu bar. press the grph + o , o , and e keys in that order.  click the button in the coverage-condition setting dialog box. window figure 6-60. coverage-efficiency view dialog box (1) coverage range display area (2) coverage efficiency display area
chapter 6 window reference user?s manual u15185ej1v0um 272 function the coverage-efficiency view dialog box consists of the following areas. ? coverage range display area ? coverage efficiency display area the function of each area is explained below. (1) coverage range display area this area specifies the coverage efficiency measurement range. the range specified in the coverage-condition setting dialog box is displayed in this area. if specified by a function name, it is displayed as ?program name $ file name # function name.? (2) coverage efficiency display area this area displays the coverage efficiency. the coverage efficiency shows what percentage of the measurement range the specified status (execute, read, write) occupies.
chapter 6 window reference user?s manual u15185ej1v0um 273 the status list is shown below. status description x proportion of program execution performed. w proportion of memory write performed. r proportion of memory read performed. all proportion of either program execution, memory read or memory write performed. function buttons closes the coverage-efficiency view dialog box. sets the displayed contents of the coverage efficiency. opens the coverage-condition setting dialog box. opens the help window.
chapter 6 window reference user?s manual u15185ej1v0um 274 event manager general this window displays, enables/disables and deletes various events. through manipulation in this window, the event conditions registered in the event dialog box or event link dialog box can be allocated to break events, trace events, snapshot events note 1 , dmm events note 2 , timer events note 1 , or stub events note 3 . notes 1. not supported in the id78k4-ns 2. not supported in the id78k4 (-ns) 3. supported only in the id78k4 opening method this window can be opened by one of the following methods: ? in the main window select [event] [event m anager] from the menu bar. press the grph + n , and m keys in that order. click the button from the toolbar. ? in the source window moves the cursor to the source line in the source text display area where the event is set, or to the disassemble line in case of the mix display mode, and carry out either of the following steps: select [view] [e vent?] from the menu bar. press the grph + v , and e keys in that order. ? in the assemble window moves the cursor to the line in the mnemonic display/change area where the event is set, and carry out either of the following steps: select [view] [e vent?] from the menu bar. press the grph + v , and e keys in that order. ? in the event dialog box click the button. press the shortcut keys grph + g . ? in the set other dialog box click the button. press the shortcut keys grph + m .
chapter 6 window reference user?s manual u15185ej1v0um 275 window figure 6-61. event manager in list display mode in detailed display mode function displays, enables/disables, and deletes various events and manages event conditions for registering or setting various event conditions (such as event link conditions, break event conditions, trace event conditions, snapshot event conditions note 1 , dmm event conditions note 2 , timer event conditions note 1 , and stub event conditions note 3 ). notes 1. not supported in the id78k4-ns 2. not supported in the id78k4 (-ns) 3. supported only in the id78k4 the event manager consists of the following areas. ? event display area ? event detail display area the function of each area is explained below. (1) event display area (1) event detail display area (1) event display area
chapter 6 window reference user?s manual u15185ej1v0um 276 (1) event display area ? in list display mode ? in detailed display mode in the event display area, icons (event icons) for various types of event conditions of the registered event, event link, break, trace, snapshot note 1 , dmm note 2 , timer note 1 , and stub note 3 are displayed. the icon of the event condition consists of a mark indicating the type of each event condition and an event name. notes 1. not supported in the id78k4-ns 2. not supported in the id78k4 (-ns) 3. supported only in the id78k4 the contents displayed in the event display area can be changed by the event info dialog box which is opened by the [view] menu or the button in the event manager. the marks are listed below. mark event name
chapter 6 window reference user?s manual u15185ej1v0um 277 mark meaning indicates event condition indicates event link condition indicates break event indicates trace event indicates snapshot event note 1 indicates dmm event note 2 indicates timer event note 1 indicates stub event note 3 notes 1. not supported in the id78k4-ns 2. not supported in the id78k4 (-ns) 3. supported only in the id78k4 the color of the character displayed in a mark indicates the setting status of each event condition. character color in mark corresponding mark meaning , indicates that the event conditions using events and event link conditions are valid. red , , , , , indicates that each event condition is ?enabled?. each event is generated when condition is satisfied. , indicates that the event conditions using events and event link conditions are invalid. black , , , , , indicates that an event is invalid. the event does not occur even if the conditions are established. yellow , , , , , , , indicates that the symbol specified in the event cannot be recognized by the program that is currently loading, so it is held pending. in addition to the above function, this area also has the following four functions. m. m. m. m.
chapter 6 window reference user?s manual u15185ej1v0um 278 (a) jump function jumps to the source window, assemble window, memory window or coverage window by using the address condition of the selected icon as a jump pointer if the selected icon is the event condition. the jump destination window displays the jump pointer at the beginning. if the address condition is a range setting, the lower address becomes the jump pointer. if a mask is set, the point address before the mask is executed becomes the jump pointer. in the case of a bit setting, the address of the specified bit position becomes the jump pointer. this function is executed by performing the following operations in sequential order. <1> select an icon ( ). <2> perform one of the following operations in the main window. ? if the jump destination is the source window select [jump] [s ourcetext] from the menu bar. press the grph + j , and s keys in that order. press shortcut keys ctrl + u . ? if the jump destination is the assemble window select [jump] [a ssemble] from the menu bar. press the grph + j , and a keys in that order. press shortcut keys ctrl + d . ? if the jump destination is the memory window select [jump] [me mory] from the menu bar. press the grph + j , and e keys in that order. press shortcut keys ctrl + m . ? if the jump destination is the coverage window note select [jump] [c overage] from the menu bar. press the grph + j , and c keys in that order. press shortcut keys ctrl + i . note not supported in the id78k4-ns (b) open function opens the setting dialog box corresponding to the selected icon?s event. the contents of the selected event are displayed in each setting dialog box that is opened. this function is executed by performing one of the following operations. <1> double-click the icon. <2> select the icon, then click .
chapter 6 window reference user?s manual u15185ej1v0um 279 (c) enabled state switching function switches the state of the event corresponding to the selected icon between enabled and disabled. except for an event and event link, it is possible to operate break, trace, snapshot note 1 , dmm note 2 , timer note 1 , and stub note 3 events by icons. this function is executed by performing one of the following operations. notes 1. not supported in the id78k4-ns 2. not supported in the id78k4 (-ns) 3. supported only in the id78k4 <1> click the left button of the mouse when the mouse cursor is on the icon mark. <2> select an icon and click or , or press the grph + enter keys. if an event is in the enabled state, it becomes disabled (black), and if the event is in the disabled state, it becomes enabled (red). the button is displayed when an icon in the disabled state is selected, and the button is displayed when an icon in the enabled state is selected. (d) delete function deletes registration/set contents of the event condition of a selected icon. multiple icons can be selected using the shift and ctrl keys. to select all the icons, select [view] [select all event] from the menu bar. however, an event condition and event link condition can be deleted only when that event condition is not used by other event condition ( , , , , , or ). if the event condition or event link condition has already been used for any other event, delete the event used. this function is executed by performing one of the following operations. <1> select an icon and perform one of the following operations in the main window. select [edit] [delete event] from the menu bar. press the grph + e , and d keys in that order. <2> select an icon and perform one of the following operations in the event manager. click button. press the del key. m.
chapter 6 window reference user?s manual u15185ej1v0um 280 (2) event detail display area this area is displayed only when the detailed display mode is selected. this area displays the detailed information corresponding to the icon of each event. this area displays the contents of the status condition, access size condition, data condition, external sense data condition, and pass count condition, in that order, by using the information of each key as a delimiter, when an event condition is specified. the following tables show the correspondence between the information of each key and the condition. ? event condition key information description [s] status condition [z] access size condition [a] address condition [d] data condition [e] external sense data condition note 1 [m] mask condition [p] pass count condition note 2 notes 1. not supported in the id78k4-ns 2. supported only in the id78k4 (-ns) ? event link condition key information description [p1] to [p4] event link condition of nth stage (n = 1 to 4) [d] disable condition note [p] pass count condition note note not supported in the id78k4-ns
chapter 6 window reference user?s manual u15185ej1v0um 281 ? break condition key information description [b] break condition ? trace condition key information description [m] trace mode [d] delay count [q] qualify trace condition ? timer condition note key information description [s] timer measurement start condition [e] timer measurement end condition [u] timer measurement unit note not supported in the id78k4-ns ? snapshot condition note key information description [sn] snapshot condition [r] register condition [b] register bank condition [m] memory condition [z] access size condition [f] sfr condition note not supported in the id78k4-ns ? dmm condition note key information description [dm] dmm condition [a] address condition [d] data condition [z] data size condition note not supported in the id78k4 (-ns)
chapter 6 window reference user?s manual u15185ej1v0um 282 ? stub condition note key information description [su] stub condition [a] jump address note supported only in the id78k4 if the address condition of an event condition, a data condition, or the memory condition of a snapshot condition is a symbol or an expression, the actual address is displayed within ?( )?. function buttons opens the new event dialog box. in the new event dialog box, by clicking each button, the setting dialog box for event, event link, break, trace, snapshot note 1 , dmm note 2 , timer note 1 , and stub note3 events can be opened. each setting dialog box that is opened has the new event name set in it. after each setting dialog box is opened, the new event dialog box is closed. if is clicked or the esc key is pressed, the new event dialog box closes and the screen returns to the event manager. opens the setting dialog box corresponding to the event condition selected in the event display area. the event condition contents selected in the event display area are displayed in the setting dialog box. if the event condition has not been selected, or if multiple conditions are selected, this button is dimmed and can no longer be clicked. the enter key also has the same operation. notes 1. not supported in the id78k4-ns 2. not supported in the id78k4 (-ns) 3. supported only in the id78k4
chapter 6 window reference user?s manual u15185ej1v0um 283 sets break, trace, snapshot note 1 , dmm note 2 , timer note 1 , and stub note 3 events in the enabled state. the button is displayed in place of the button if one disabled event or multiple events including only disabled events are selected. sets break, trace, snapshot note 1 , dmm note 2 , timer note 1 , and stub note 3 events in the disabled state. the button is displayed in place of the button if one enabled event is selected or multiple events including enabled events are selected. if an event or an event link only is selected, this button is dimmed and it can no longer be clicked. deletes the event condition selected in the event display area. when deleting an event or event link, if that event is being used by a break, trace, snapshot note 1 , dmm note 2 , timer note 1 , stub note 1 , or event link, it results in an error. the del key also has the same operation. delete all deletes all the events whether they are enabled or disabled. opens the event info dialog box. the button rearranges events in name order and displays them. the button rearranges events by type and displays them. the button displays the events in the order in which they were entered without rearranging them. the button sets the display mode to the detailed display mode. the button sets the display mode to the list display mode. the button or the esc key closes the dialog box. closes the event manager. notes 1. not supported in the id78k4-ns 2. not supported in the id78k4 (-ns) 3. supported only in the id78k4
chapter 6 window reference user?s manual u15185ej1v0um 284 software break manager (this is valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns-a or ie- 78k0s-ns-a is used, or when the ie-78k4-ns or ie-784000-r is used.) general this window displays, switches enable/disable, and deletes software breaks. opening method this window can be opened by the following methods. ? in the main window select [event] [sof tware break manager] from the menu bar. press the grph + n , and m keys in that order. window figure 6-62. software break manager (1) event name display area (2) break mark display area (3) break point display area (4) address display area function displays, switches enable/disable, and deletes software breaks. up to 100 software break events can be valid simultaneously. note that the setting of the software break point is not performed in this window, but in the source window or assemble window. (1) (2) (3) (4)
chapter 6 window reference user?s manual u15185ej1v0um 285 the software break manager consists of the following areas. ? event name display area ? break mark display area ? break point display area ? address display area the function of each area is explained below. (1) event name display area this area consists of check boxes to indicate the registered event name and valid/invalid status of the event. to change the event name, edit directly after clicking the name to be changed. the name will be determined by pressing the return key. [swb + number] is displayed in this area as the default. to validate the event, check the check box (as the default, the check box is checked for a newly created event). also, double-clicking the event name makes it possible to jump to the window where the event was created (the source window/assemble window). remark by clicking name on the label, character strings of the displayed items are compared and arranged in alphabetical order (ascending or descending can be switched by clicking). (2) break mark display area this area displays the mark ?>? for the software break event set at the current pc area to make it easy to specify the software break event that has caused the break.
chapter 6 window reference user?s manual u15185ej1v0um 286 (3) break point display area this area displays the location where the software break event is set in the following format. file name # line number (when set in the source window) symbol + offset (when set in the assemble text window) re-evaluating the event when redownloading symbols is performed based on the above. remark by clicking file#line/symbol+offset on the label, character strings of the displayed items are compared and arranged in alphabetical order (ascending or descending can be switched by clicking). (4) address display area this area displays addresses where software break events are set. remark by clicking address on the label, values of the displayed items are compared and arranged in size order (ascending or descending can be switched by clicking). function buttons validates the event selected. invalidates the event selected. deletes the event selected. delete all deletes all software break events set. closes the software break manager window.
chapter 6 window reference user?s manual u15185ej1v0um 287 event dialog box general registers and displays event conditions. the event conditions created (registered) in this dialog box are automatically registered to the event manager. opening method this dialog box can be opened by the following methods. ? in the main window select [event] [e vent ] from the menu bar. press the grph + n , and e keys in that order. click the button on the toolbar. ? execute one of the following operations in the break, trace, snap shot note 1 , dmm note 2 , timer note 1 , stub note 3 , or event link dialog boxes. click the button. press the shortcut keys grph + e . ? execute one of the following operations in the event setting area or the event manager area of the break, trace, snap shot note 1 , dmm note 2 , timer note 1 , stub note 3 , or event link dialog boxes. select the event condition and click . select the event condition and press the shortcut keys grph + o . double-click the event condition. ? in the event manager, execute one of the following operations. select an event condition and click . double-click the event condition. ? execute one of the following operations in the new event dialog box or the set other dialog box. click the event? button. press the shortcut keys grph + e . ? in the source window move the cursor to the source line in the source text display area where the event is set, or to the disassemble line in the mixed display mode, and execute one of the following operations. select [view] [e vent?] from the menu bar. press the grph + v and e keys in that order. notes 1. not supported in the id78k4-ns 2. not supported in the id78k4 (-ns) 3. supported only in the id78k4
chapter 6 window reference user?s manual u15185ej1v0um 288 ? in the assemble window move the cursor to the line of the mnemonic display/change area where the event is set and execute one of the following operations. select [view] [e vent?] from the menu bar. press the grph + v and e keys in that order. window figure 6-63. event dialog box (1/2) id78k0s-ns, ID78K0-NS (1) event name setting area (5) external sense data setting area (2) status select area (6) in-range/out-of-range break select area (3) address setting area (7) event manager area (4) data setting area (1) (2) (3) (4) (5) (6) (7)
chapter 6 window reference user?s manual u15185ej1v0um 289 figure 6-63. event dialog box (2/2) id78k0, id78k4 (-ns) (1) event name setting area (5) external sense data setting area note 1 (2) status select area (7) event manager area (3) address setting area (8) access size select area (4) data setting area (9) pass count setting area note 2 notes 1. not supported in the id78k4-ns 2. not supported in the id78k0 function this dialog box registers and displays event conditions. up to 256 conditions can be entered for event conditions. however, the number of event conditions which can be used simultaneously in enabled break, trace, snapshot note 1 , dmm note 2 , timer note 1 , and stub note3 events is 8 execution events (or one event link) and 4 access events. when when the ie-78k0-ns-pa is installed in the ie-78k0-ns or the ie-78k0-ns-a/ie-78k0s-ns-a is used, the number of event conditions that can be used simultaneously will increase by 8 for each. in the ie-78k4-ns, four execution events and four access events can be used. in the ie-784000-r, three execution events and seven access events can be used. the number of event conditions that can be used simultaneously is up to the number of event conditions given above, but a single event condition can be set in multiple break, trace, snapshot note 1 , dmm note 2 , timer note 1 , stub note 3 , and event link events. notes 1. not supported in the id78k4-ns 2. not supported in the id78k4 (-ns) 3. supported only in the id78k4 (1) (2) (3) (4) (5) (6) (7)
chapter 6 window reference user?s manual u15185ej1v0um 290 the event dialog box has two modes, the normal mode and the select mode. ? normal mode when the button from the toolbar or [event] [e vent?] from the menu bar in the main window is selected and the event dialog box is opened, event conditions can be entered without restriction as to purpose. this is the normal mode. ? select mode when the button in the break, trace, snap shot note 1 , dmm note 2 , timer note 1 , stub note 3 , and event link dialog boxes is clicked and the event dialog box is opened, the event conditions used by these are selected. this is the select mode. in the select mode, when is clicked, the event condition selected in the event name setting area of the event dialog box is set in the event condition setting area of the setting dialog box that originally called the event dialog box. even in the select mode, event conditions can be entered and displayed just as in the normal mode. depending on the mode, the title bar display on the dialog box will differ. refer to the section entitled [title bar] described later on. the event dialog box consists of the following areas. ? event name setting area ? status select area ? access size select area note 1 ? address setting area ? data setting area ? external sense data setting area note 2 ? in-range/out-of-range break select area note 3 ? pass count setting area note 4 ? event manager area notes 1. not supported in the id78k0s-ns and ID78K0-NS 2. not supported in the id78k4-ns 3. not supported in the id78k0 and id78k4 (-ns) 4. supported only in the id78k4 the function of each area is explained below.
chapter 6 window reference user?s manual u15185ej1v0um 291 (1) event name setting area this area sets an event name and selects an event condition. when entering an event condition, it is necessary to set an event name. an event name may consist of up to eight alphanumeric characters. when displaying event conditions which have already been created, either type the name of the already created event in the text box or select the event condition from the drop-down list in the event name setting area. note that when moving to another event before completing an event setting, the data which was being set is deleted. in the select mode, the selected event condition can be set in the event condition setting area of the original setting dialog box that called the event dialog box. the mark on the left side of the event name setting area shows the use conditions of the event condition. the relationship between the color of the character in the mark and the status is shown below. color of character in mark condition red that event condition is being used by break, trace, snapshot note 1 , dmm note 2 , timer note 1 , stub note 3 , or event link and indicates that it is enabled. black indicates that that event condition has not been enabled. gray indicates that that event condition is currently being edited and that it has not been entered. yellow indicates that that event is an event which is in the hold state. an event in the hold state is in a state where the symbol specified by the event condition by program download, etc. cannot be referred to. notes 1. not supported in the id78k4-ns 2. not supported in the id78k4 (-ns) 3. supported only in the id78k4 (2) status select area this area sets and selects a status condition. by specifying the status condition, the distinction between the execution event and access event is decided at the same time. if execution event is specified, the access size select area, the mask field of the address setting area and the data setting area are dimmed and are in a state where input is impossible. the status conditions that can be specified are shown below. it is possible to specify a status condition in abbreviated form. the input status condition is not case sensitive.
chapter 6 window reference user?s manual u15185ej1v0um 292 [id78k0 (-ns), id78k0s (-ns)] status abbr. event type meaning execution ex program execution before execution ex-b execution event program execution (break before execution) note 1 r/w rw memory read/write read r memory read write w memory write external trigger1 trigger-1 external trigger (1 bit) external trigger2 trigger-2 access event external trigger (ID78K0-NS: 8 bits, id78k0s-ns: 16 bits) note 2 notes 1. valid only for products with new packages (ie-78k0-ns with a control code d or later or the ie- 78k0-ns-a (ie-78k0s-ns-a)). 2. valid only when the ie-78k0-ns-pa is installed in the ie-78k0-ns or the ie-78k0-ns-a/ie- 78k0s-ns-a is used. [id78k4 (-ns)] status abbr. event type meaning execution ex program exectuion note opcode fetch op execution event op code fetch (including prefetch) r/w rw memory read/write note read r memory read note write w memory write note r/w by macro rwm data read/write by macro service read by macro rm data read by macro service write by macro wm data write by macro service r/w by program rwp data read/write by program read by program rp data read by program write by program wp data write by program vector read vect vector read by interrupt access ac all access statuses external trigger1 trigger-1 access event external trigger (1 bit) note note supported only in the id78k4 in the id78k0 (-ns) and id78k0s-ns, two or more of external trigger1 and external trigger 2 can be registered, but only one of them can be enabled. two or more of before execution can be registered but only 16 (15 in flash self-mode) of them can be enabled. in addition, they cannot be used as other event conditions. in the id78k4 (-ns), an address range can be set for execution. at this time, the start address must be an even address and the end address must be an odd address. if op code fetch is specified, an address other than those in the 1m space must not be set. a value greater than 1 can be set as the pass count only when one event is used in the id78k4-ns or when two events are used in the id78k4. these areas are blank when the condition of a newly created event is set.
chapter 6 window reference user?s manual u15185ej1v0um 293 (3) address setting area this area sets an address condition. the setting range is as shown below. [id78k0s-ns] setting range: 0 address value 0xffff 0 mask value 0xffff [id78k0 (-ns)] (when a bank is not used) setting range: 0 address value 0xffff 0 mask value 0xffff (when a bank is used) setting range: 0 address value (n note << 16)|0xffff 0 mask value (n note << 16)|0xffff note n is the maximum bank number used. [id78k4 (-ns)] (execution event) setting range: 0 address value 0xfffff 0 mask value 0xfffff (access event) setting range: 0 address value 0xffffff 0 mask value 0xffffff input the lower and higher addresses in that order. the following three types of settings can be made when specifying an address condition. <1> point setting only the lower address or the same address value is set to the lower and higher addresses when a point is set. masks can be set. <2> range setting a range is specified by the lower and higher addresses. note that if the same value is input for the lower address and the higher address, it is not handled as a range setting. in this case, it becomes a point setting or a bit setting. in the id78k4 (-ns), an error occurs unless the start address is an even address and the end address is an odd address.
chapter 6 window reference user?s manual u15185ej1v0um 294 <3> bit setting for a bit setting, set a value in the lower address only, or set the same value in the lower address and the higher address. specify the value in the address.bit format. the value of the bit that shows the bit position must be 0 bit 7. for the address, it is possible to specify a symbol or an expression. the specification method is the same as in the address move dialog box. the default radix when numerical values are input is hexadecimal. this area is blank in the case of newly created event conditions. (4) data setting area this area sets a data condition. the setting range is as follows. access size condition setting range byte 0 data value 0xff 0 mask value 0xff word note 0 data value 0xfff 0 mask value 0xfff bit data value = 0, 1 mask value = cannot be specified note supported only in the id78k4 (-ns) if the data condition setting has been omitted, data condition detection is not performed. for a newly created event condition, the address value and the mask value input columns are both blank. there are two types of data conditions: data, which sets the data value, and mask, which inputs the mask value of the data value. how to set each of these types is explained below. (a) data set a data value. a data value can also be specified by a symbol or expression. the specification method is the same as in the case of the symbol to address dialog box, but the default radix when numerical values are input is hexadecimal.
chapter 6 window reference user?s manual u15185ej1v0um 295 (b) mask set a mask value for the data value. when mask setting is made, for a bit with a mask value of 1, it doesn?t matter if the data value is 0 or 1. example 1. data: 0x4000 mask: 0xff in this kind of setting, the conditions match when the data value is 0x4000 to 0x40ff. 2. data: 0x4000 mask: 0x101 in this kind of setting, when the data is 0x4000, 0x4001, 0x4100, and 0x4101, the conditions are matched. if the mask value setting is omitted, masking is not executed. the default radix when numerical values are input is hexadecimal. (5) external sense data setting area this area sets the external sense data condition. setting range: 0 data value 0xffff 0 mask value 0xfffe the external sense data condition enables the input pin level of the external sense clip attached to the emulation probe connected to the in-circuit emulator to be a search condition. the correspondence between the external sense data and the external sense clip is as follows. [id78k0 (-ns), id78k0s-ns] external sense data display external sense clip number bit 15 no.16 bit 14 no.15 bit 13 no.14 bit 12 no.13 bit 11 no.12 bit 10 no.11 bit 9 no.10 bit 8 no.9 bit 7 no.8 bit 6 no.7 bit 5 no.6 bit 4 no.5 bit 3 no.4 bit 2 no.3 bit 1 no.2 bit 0 no.1
chapter 6 window reference user?s manual u15185ej1v0um 296 [id78k4] external sense data display external sense clip number bit 7 no.8 bit 6 no.7 bit 5 no.6 bit 4 no.5 the input pin level of the external sense clip is set to 1 for high level and 0 for low level. there are two types of external sense data conditions: ext probe, which sets the external sense data value, and mask, which sets the mask value of the external sense data value. the setting method is shown below. (a) ext probe specify the external sense data value. the default radix when numerical values are input is hexadecimal. (b) mask set a mask value for the external sense data value. when mask setting is made, for a bit with a mask value of 1, it doesn?t matter if the data value is 0 or 1. example 1. data: 0x8 mask: 0x7 in this kind of setting, the conditions match when the data value is 0x8 to 0xf. 2. data: 0x8 mask: 0x5 in this kind of setting, when the data is 0x8, 0x9, 0xc, and 0xd, the conditions are matched. if the mask value setting is omitted, masking is not executed. the default radix when numerical values are input is hexadecimal. when the debugger uses the external sense data condition for event detection of the bank address, those bits cannot be accessed note . if the number of bits in the bank port is equal to or more than the maximum number of the external sense data condition, the external sense data condition and mask value are dimmed and cannot be input note . if less than the maximum, the unused bits of the external sense data condition can be set arbitrarily. at this time, setting bits that are being used by the debugger will cause an error note . if the external sense data condition setting is omitted, the external sense data condition is not detected. the data value and mask value text boxes are blank in the case of newly created event conditions. note these specifications do not apply to the id78k4.
chapter 6 window reference user?s manual u15185ej1v0um 297 (6) in-range/out-of-range break select area (id78k0s-ns, ID78K0-NS) this area selects the break condition (in-range/out-of-range). in range: break within the range (default) out range: break out of the range this area selects whether the break occurs within the specified address range or not. this can be selected only when r/w, read, write, or before execution is specified for the status. (7) event manager area this area displays a list of each of the entered events, event links, breaks, trace, snapshots note 1 , timer note 1 , and stub note 2 events. by selecting an event and clicking , or by double-clicking the event, a setting dialog box opens corresponding to the selected event and the event setting contents can be displayed. when the focus is on the event manager area, select the event icon and click , or press the del key to delete the selected event. by clicking , it is possible to select the event manager area display mode or sequencing. notes 1. not supported in the id78k4-ns 2. supported only in the id78k4 (8) access size select area (id78k0 and id78k4 (-ns)) this area sets or selects the access size condition. by specifying an access size condition, the access width of the data condition to be detected by the access event is determined. the access size conditions that can be specified are shown below. an access size condition can also be specified in an abbreviated form. the uppercase and lowercase characters of the input access size condition are not distinguished.
chapter 6 window reference user?s manual u15185ej1v0um 298 access size abbreviation form description byte b detection is carried out with an 8-bit width as the data condition. detection is carried out only during 8-bit access. word w detection is carried out with a 16-bit width as the data condition. detection is carried out only during 16-bit access. no condition nc an access-size search is not executed bit 1 detection is carried out with a 1-bit width as the data condition. detection is carried out only during 8-bit access. (9) pass count setting area (id78k4 (-ns) only) this area sets a pass count condition. [id78k4] setting range: 1 pass count value 32,767 [id78k4-ns] setting range: 1 pass count value 255 this area sets the condition that is to be satisfied if an event condition (address condition, status condition, access size condition, data condition, or external sense data condition) has been satisfied a given number of times during user program execution. if the pass count is set to 1, the condition is satisfied as soon as the event condition has been satisfied. if the pass count is set to 2 or more, the number of events that can be simultaneously enabled is up to two, with event conditions and event link conditions combined. in the id78k4, an event condition for which the pass count is set to 2 or more cannot be used as an event link condition. if the pass count condition setting is omitted, it is assumed to be 1. the pass count is also assumed to be 1 when there is a newly created event condition. function buttons closes the event dialog box. (normal mode) if there is an event condition that is being edited, it is entered automatically and the dialog box is closed. sets the displayed event as the event condition of the original dialog box that (select mode) called the event dialog box and returns to the original setting dialog box. if the event dialog box is already open, the select mode returns to the normal mode only and the event dialog box does not close. in other cases, it closes. if there is an event condition being edited, enter/select is performed automatically and the program returns to the original setting dialog box.
chapter 6 window reference user?s manual u15185ej1v0um 299 newly creates an event condition. an event name is generated automatically and a newly created event condition is prepared. after it is created, be sure to enter the event condition using the or the button. enters an event condition. when a new event condition has been created or when the contents of an event condition have been changed, be sure to enter the event condition using this button. the entered event condition is reflected in the event manager. if event conditions that have already been entered are displayed, they cannot be selected. clears the contents of an event condition. if an event condition is entered but not edited, the button is displayed in place of this button. returns the contents of an event condition to the original contents. if an event condition that has not been entered is displayed, all the area is made blank except the event name, or the settings return to the default settings. if an event condition is being edited, the button is displayed in place of this button. closes the event dialog box. (normal mode) if an event condition has been created/changed/deleted, after that, the button becomes this button. even if there is an event condition that is being edited, the dialog box closes without the event condition being entered. the esc key has the same operation. closes the event dialog box. (normal mode) if an event condition is not being created/changed/deleted, the button becomes this button. even if an event condition is being edited, the dialog box closes without the event condition being entered. the esc key has the same operation. returns to the original setting dialog box that called the event dialog box without (select mode) an event condition being selected. if an event condition is not being created/changed/deleted, the button becomes this button. if the event dialog box is already open, the select mode returns to the normal mode only, and the event dialog box does not close. in other cases, the event dialog box closes. even if an event condition is being edited, it is not entered. the esc key has the same operation.
chapter 6 window reference user?s manual u15185ej1v0um 300 returns to the original setting dialog box without selecting the event condition. (select mode) if an event condition has been edited/changed/deleted, the button becomes this button. if the event dialog box is already open, the select mode returns to the normal mode only, and the event dialog box does not close. in other cases, the event dialog box closes. even if an event condition is being edited, it is not entered. the esc key has the same operation. opens the help window. opens the event link dialog box. opens the break dialog box. opens the trace dialog box. note 1 opens the snap shot dialog box. dmm? note 2 opens the dmm dialog box. note 1 opens the timer dialog box. note 3 opens the stub dialog box, opens the event manager. expand displays the event manager area. expands the size of the dialog box. when the event manager area is not displayed, this button is displayed in place of the button. does not display the event manager area. shrinks the size of the dialog box. when the event manager area is displayed, this button is displayed in place of the expand button. opens the setting dialog boxes and displays the event, event link, break, trace, snapshot note 1 , dmm note 2 , timer note 1 , or stub note 3 conditions selected in the event manager area. notes 1. not supported in the id78k4-ns 2. not supported in the id78k4 (-ns) 3. supported only in the id78k4
chapter 6 window reference user ? s manual u15185ej1v0um 301 deletes the event, event link, break, trace, snapshot note 2 , dmm note 3 , timer note 2 , or stub note 1 conditions selected in the event manager area. opens the event info dialog box. the button rearranges events in name order and displays them. the button rearranges the events in order by type and displays them. the button displays the events in the order in which they were entered without rearranging them. the button changes the event manager area to the detailed display mode. the button changes the event manager area to the list display mode. the button or the esc key closes the dialog box. notes 1. supported only in the id78k4 2. not supported in the id78k4-ns 3. not supported in the id78k4 (-ns)
chapter 6 window reference user ? s manual u15185ej1v0um 302 title bar in the normal mode, [event] is displayed as the title in the title bar. title bar event in the select mode, the title in the title bar becomes as follows in accordance with the original setting dialog box that called the event dialog box. title bar original setting dialog box event ? break break dialog box event ? trace trace dialog box event ? snap shot snap shot dialog box note 1 event ? dmm dmm dialog box note 2 event ? timer timer dialog box note 1 event ? stub stub dialog box note 3 event ? event link event link dialog box event ? event link ? break event link dialog box (while in the break dialog box select mode) event ? event link ? trace event link dialog box (while in the trace dialog box select mode) event ? event link ? snap shot note 1 event link dialog box (while in the snap shot dialog box select mode) event ? event link ? timer note 1 event link dialog box (while in the timer dialog box select mode) event ? event link ? stub note 3 event link dialog box (while in the stub dialog box select mode) notes 1. not supported in the id78k4-ns 2. not supported in the id78k4 (-ns) 3. supported only in the id78k4
chapter 6 window reference user ? s manual u15185ej1v0um 303 event link dialog box general registers and displays event link conditions. the event link conditions created (registered) in this dialog box are automatically registered to the event manager. opening method this dialog box can be opened by one of the following methods. ? in the main window select [event] [eventl ink ] from the menu bar. press the grph + n , and l keys in that order. ? in the event dialog box click the button. press the shortcut keys grph + l . ? execute one of the following operations in the break dialog box. click the button. press the shortcut keys grph + l . ? execute one of the following operations in the event setting area or the event manager area of the event, break, trace, snap shot note 1 , dmm note 2 , timer note 1 , or stub note 3 dialog boxes. select the event link condition and click . select the event link condition and press the shortcut keys grph + o . double-click the event link condition. ? in the event manager, execute one of the following operations. select an event link condition and click . double-click the event link condition. ? execute one of the following operations in the new event dialog box or the set other dialog box. click the button. press the shortcut keys grph + l . notes 1. not supported in the id78k4-ns 2. not supported in the id78k4 (-ns) 3. supported only in the id78k4
chapter 6 window reference user ? s manual u15185ej1v0um 304 window figure 6-64. event link dialog box (1) event link name setting area (2) link condition setting area (3) disable condition setting area note (4) pass count setting area note (5) event manager area note supported only in the id78k4 function registers and displays event link conditions. if the event link conditions are satisfied, an event occurs only if the user program is executed in the specified order of the event conditions that have been set. up to 256 event link conditions can be registered. however, the number of event link conditions which can be used simultaneously is 1. the event link dialog box has two modes, the normal mode and the select mode. ? normal mode when [event] [event l ink ? ] from the menu bar in the main window is selected and the event link dialog box is opened, event link conditions can be entered without restriction as to purpose. this is the normal mode. (1) (2) (5) (3) (4)
chapter 6 window reference user ? s manual u15185ej1v0um 305 ? select mode when in the break dialog box is clicked and the event link dialog box is opened, the event conditions used by these are selected. this is the select mode. in the select mode, when is clicked, the event link condition selected in the event link name setting area of the event link dialog box is set in the event condition setting area of the setting dialog box that originally called the event link dialog box. even in the select mode, event conditions can be entered and displayed just as in the normal mode. depending on the mode, the title bar display on the dialog box will differ. refer to the section entitled [title bar] described later. the event link dialog box consists of the following areas. ? event link name setting area ? link condition setting area ? disable condition setting area note ? pass count setting area note ? event manager area note supported only in the id78k4 the function of each area is explained below. (1) event link name setting area this area sets event link names and selects event link conditions. when entering an event link condition, it is necessary to set an event link name. an event link name may consist of up to eight alphanumeric characters. when displaying event link conditions which have already been created, either type the event link name of the already created event link condition in the text box or select the event link condition from the drop-down list in the event link name setting area. in the select mode, the selected event link condition can be set in the event link condition setting area of the original setting dialog box that called the event link dialog box. the mark on the left side of the event link name setting area shows the use conditions of the event link condition. the relationship between the color of the character in the mark and the status is shown below. color of character in mark condition red indicates that that event link condition is being used and that it is enabled. black indicates that that event link condition has not been enabled. gray indicates that that event link condition is currently being edited and that it has not been entered. yellow indicates that that event is an event which is in the hold state. an event in the hold state is in a state where the symbol specified by the event condition by program download, etc. cannot be referred to.
chapter 6 window reference user ? s manual u15185ej1v0um 306 (2) link condition setting area this area sets the sequence of event detection as a link condition. event conditions are set in four steps, from phase 1 to phase 4 . event conditions need not be set up to phase 4. if phase 4 is not set, an event occurs when the event condition set to the last phase is detected. event conditions can be set in only phase 1, and same event conditions can be set in two or more phases. the number of event conditions that can be set to each phase in the link condition setting area is up to 1 note 1 . also, the only type of event condition that can be set to each phase in the link condition setting area is on execution event note 2 . notes 1. up to 10 event conditions can be set in the id78k4. 2. an event condition for which the pass count is set to 1 or an access event condition can be set in the id78k4. to set an event condition, use one of the following methods. ? click and open the event dialog box in the ? select mode ? , then select the event conditions to be set. ? in the event manager area, select one (or more than one) event condition, then click or set it by a drag-and-drop operation. setting of an event condition by a drag-and-drop operation is possible even from outside the event link dialog box ? s event manager area; event conditions can be set from the event manager area of each setting dialog box and from the event manager. when the focus is on each phase of the link condition setting area, click to delete the event condition selected in the phase which was focused on. it can also be deleted by pressing the del key. each phase of the link condition setting area and the event conditions in the disable condition setting area can be copied mutually or moved by drag-and-drop. the contents are shown below. ? if an event condition is dropped only by the mouse, it is moved. ? if it is dropped while pressing the shift key, the event condition is moved. ? if it is dropped while pressing the ctrl key, the event condition is copied. selecting only one event condition in the link condition setting area and clicking or double- clicking it opens the event dialog box and displays the contents of the event condition.
chapter 6 window reference user ? s manual u15185ej1v0um 307 (3) disable condition setting area (id78k4 only) this area sets an event condition that invalidates the event condition that has been satisfied. the number of event conditions that can be set in the disable condition setting area is up to 10, with both execution events and access events combined. set an event condition with a pass count set to 1. an event condition with a pass count set to 2 or more cannot be set. click the add event ? button and open the event dialog box in the ? select mode, ? then select the event conditions to be set. or, select an event condition in the event manager area and click the add button or set it by a drag-and- drop operation. setting of an event condition by drag-and-drop is possible even from outside the event link dialog box ? s event manager area; event conditions can be set from the event manager area of each setting dialog box and from the event manager. when the focus is on the disable condition setting area, click the remove button to delete the selected event condition. it can also be deleted by pressing the del key. each phase of the disable condition setting area and the link condition setting area can be copied manually or moved by drag-and-drop as follows: ? if an event condition is dropped only by the mouse, it is moved. ? if it is dropped while pressing the shift key, the event condition is moved. ? if it is dropped while pressing the ctrl key, the event condition is copied. selecting only one event condition in the disable condition setting area and clicking the open button opens the event dialog box and displays the contents of the event condition. the disable condition setting area is blank when there is a newly created event condition.
chapter 6 window reference user ? s manual u15185ej1v0um 308 (4) pass count setting area (id78k4 only) this area sets a pass count condition. setting range: 1 pass count value 32,767 this area sets the condition that is to be satisfied if an event link condition has been satisfied a given number of times while the user program is executed. if the pass count is set to 1, the condition is satisfied as soon as the event link condition has been satisfied. if the pass count is set to 2 or more, the number of events that can be simultaneously enabled is up to two, with event conditions and event link conditions combined. if a value is directly input to the text box, 1 is assumed. the pass count is also assumed to be 1 when there is a newly created event link condition. (5) event manager area this area displays a list of each of the entered events, event links, breaks, traces, snapshots note 1 , timer note 1 , and stub note 2 events. an event condition that is displayed in the event manager area can be set in the link condition setting area or disable condition setting area by clicking . by dragging it from the event manager area in the event link dialog box, it can be set in the event setting area in each setting dialog box for break, trace, snapshot, and timer. when the focus is on the event manager area, select the event icon and click , or press the del key to delete the selected event. also, when the focus is on the event manager area, select one event icon, then click , or double- click the event icon to open the setting dialog box corresponding to the selected event and display the event ? s setting contents. by clicking , it is possible to select the event manager area display mode or sequencing. notes 1. not supported in the id78k4-ns 2. supported only in the id78k4
chapter 6 window reference user ? s manual u15185ej1v0um 309 function buttons closes the event link dialog box. (normal mode) if there is an event link condition that is being edited, it is entered automatically and the dialog box is closed. sets the displayed event as the event link condition in the original dialog box that (select mode) called the event link dialog box. if the event link dialog box is already open, the select mode returns to the normal mode only and the event link dialog box does not close. in other cases, it closes. if there is an event link condition being edited, enter/select is performed automatically and the program returns to the original setting dialog box. newly creates an event link condition. an event name is generated automatically and a newly created event link condition is prepared. after it is created, be sure to enter the event link condition using the or the button. enters an event link condition. when a new event link condition has been created or when the contents of an event link condition have been changed, be sure to enter the event link condition using this button. the entered event link condition is reflected in the event manager. if event link conditions that have already been entered are displayed, they cannot be selected. clears the contents of an event link condition. if an event link condition is entered but not edited, the button is displayed in place of this button. returns the contents of an event link condition to the original contents. if an event link condition that has not been entered is displayed, all the area is made blank except the event link name, or the settings return to the default settings. if an event link condition is being edited, the button is displayed in place of this button. closes the event link dialog box. (normal mode) if an event link condition has been created/changed/deleted, after that, the button becomes this button. even if there is an event link condition that is being edited, the dialog box closes without the event link condition being entered. the esc key has the same operation.
chapter 6 window reference user ? s manual u15185ej1v0um 310 closes the event link dialog box. (normal mode) if an event link condition is not being created/changed/deleted, this button is displayed. even if an event link condition is being edited, the dialog box closes without the event link condition being entered. the esc key has the same operation. returns to the original setting dialog box that called the event link dialog box (select mode) without an event link condition being selected. if an event link condition is not being created/changed/deleted, the button becomes this button. if the event link dialog box is already open, the select mode returns to the normal mode only, and the event link dialog box does not close. in other cases, the event link dialog box closes. even if an event link condition is being edited, it is not entered. the esc key has the same operation. returns to the original setting dialog box without selecting the event link condition. (select mode) if an event link condition has been created/changed/deleted, the button becomes this button. if the event link dialog box is already open, the select mode returns to the normal mode only, and the event link dialog box does not close. in other cases, the event link dialog box closes. even if an event link condition is being edited, it is not entered. the esc key has the same operation. opens the help window. opens the select mode in the event dialog box and makes additional settings in the link condition setting area or disable condition setting area. the area where additional settings are made becomes the selected area when is clicked. opens each setting dialog box for the event selected in the link condition setting area, disable condition setting area or event manager area and displays the contents. if an event is not selected, or if multiple events are selected, selection cannot be made. the operation is the same as double-clicking the event icon. deletes the event selected in the link condition setting area, disable condition setting area or event manager area. the same operation is performed by pressing the del key.
chapter 6 window reference user ? s manual u15185ej1v0um 311 expand displays the event manager area. expands the size of the dialog box. when the event manager area is not displayed, this button is displayed in place of the button. does not display the event manager area. shrinks the size of the dialog box. when the event manager area is displayed, this button is displayed in place of the expand button. adds an event condition or event link condition selected in the event manager area to the link condition setting area or disable condition setting area and sets it. the area where it is added becomes the selected area when is clicked. opens the event info dialog box. the button rearranges events in name order and displays them. the button rearranges the events in order by type and displays them. the button displays the events in the order in which they were entered without rearranging them. the button changes the event manager area to the detailed display mode. the button changes the event manager area to the list display mode. the button or the esc key closes the dialog box.
chapter 6 window reference user ? s manual u15185ej1v0um 312 this opens the set other dialog box. clicking each button opens the event manager and the event, break, trace, snap shot note 1 , dmm note 2 , timer note 1 , or stub note 3 dialog box, and closes the dialog box. close the dialog box by clicking or and return to the event link dialog box. notes 1. not supported in the id78k4-ns 2. not supported in the id78k4 (-ns) 3. supported only in the id78k4 title bar in the normal mode, [event link] is displayed as the title in the title bar. title bar event link in the select mode, the title in the title bar becomes as follows in accordance with the original setting dialog box that called the event link dialog box. title bar original setting dialog box event link ? break break dialog box event link ? trace trace dialog box event link ? snap shot snap shot dialog box note 1 event link ? dmm dmm dialog box note 2 event link ? timer timer dialog box note 1 event link ? stub stub dialog box note 3 notes 1. not supported in the id78k4-ns 2. not supported in the id78k4 (-ns) 3. supported only in the id78k4
chapter 6 window reference user ? s manual u15185ej1v0um 313 break dialog box general registers, sets, and displays break event conditions. the break event conditions registered in this dialog box are automatically registered to the event manager. opening method this dialog box can be opened by one of the following methods. ? in the main window select [event] [b reak ] from the menu bar. press the grph + n , and b keys in that order. click the button on the toolbar. ? in the event dialog box click the button. press the shortcut keys grph + b . ? execute one of the following operations in the event manager area in the event, event link, trace, snap shot note 1 , dmm note 2 , timer note 1 , or stub note 3 dialog box. select the break event condition and click . select the break event condition and press the shortcut keys grph + o . double-click the break event condition. ? in the event manager, execute one of the following operations. select an break event condition and click . double-click the break event condition. ? execute one of the following operations in the new event dialog box or the set other dialog box. click the button. press the shortcut keys grph + b . notes 1. not supported in the id78k4-ns 2. not supported in the id78k4 (-ns) 3. supported only in the id78k4
chapter 6 window reference user ? s manual u15185ej1v0um 314 window figure 6-65. break dialog box when event manager area is displayed (1) break event name setting area (3) event manager area (2) break condition setting area function registers, sets, and displays break event conditions. up to 256 break event conditions can be entered. however, when the ie-78k0-ns is used, the number of break event conditions that can be used simultaneously is 12, when the ie-78k0-ns-pa is installed in the ie-78k0-ns or the ie-78k0-ns-a/ie-78k0s-ns-a is used, this number is 28, when the ie-784000-r is used, this number is 10, and when ie-78k4-ns is used, this number is 8. break event conditions become valid automatically when they are entered. however, if the number of break event conditions exceeds the number that can be used simultaneously, or if the number of event conditions or event link conditions in use exceeds the number that can be used simultaneously, the break event conditions are entered in the disabled state. also, in this case, a break event condition cannot be enabled. note that if [run] [ignore break p oint] is selected, the break event condition will not operate even if it is enabled. the break dialog box consists of the following areas. ? break event name setting area ? break condition setting area ? event manager area the function of each area is explained below. (1) (2) (3)
chapter 6 window reference user ? s manual u15185ej1v0um 315 (1) break event name setting area this area sets break event names and selects break event conditions. when entering an event condition, it is necessary to set a break event name. break event names of up to 8 alphanumeric characters can be set. when displaying break event conditions which have already been created, either type the break event name of the already created break event condition in the text box or select the break event condition from the drop- down list in the break event name setting area. clicking the mark in the break event name setting area switches between enabling or disabling the break event condition. the relationship between the color of the character in the mark and the status is shown below. color of character in mark condition red indicates that the break event condition has been enabled. a break event occurs if the condition is satisfied. black indicates that the break event condition has not been enabled. no break event occurs if the condition is satisfied. gray indicates that the break event condition is currently being edited and that it has not been entered. yellow indicates that the break event is an event which is in the hold state. an event in the hold state is in a state where the symbol specified by the event condition by program download, etc. cannot be referred to. (2) break condition setting area this area sets an event condition for a break. the number of event conditions that can be set in the break condition setting area is 12 when the ie-78k0-ns is used (8 execution events and 4 access events), 28 when the ie-78k0-ns-pa is installed in the ie-78k0-ns or the ie-78k0-ns-a or ie-78k0s-ns-a is used (16 execution events and 12 access events), 10 when the ie- 784000-r is used, and 8 when the ie-78k4-ns is used. also, the number of event link conditions that can be used simultaneously is up to 2, as long as the number of event conditions in use does not exceed the number of event conditions that can be used simultaneously. carry out setting of the disable conditions by one of the following methods.
chapter 6 window reference user ? s manual u15185ej1v0um 316 ? click and open the event dialog box in the select mode, then select the event condition which is to be set. ? click and open the event link dialog box in the select mode, then select the event link condition which is to be set. ? select an event link condition in the event manager area and click , or make the setting by a drag-and-drop operation. when setting the event condition or event link condition by a drag-and-drop operation, besides the event manager area in the break dialog box, it is possible to set it from the event manager area and event manager in each setting dialog box. when the focus is on the break condition setting area, clicking deletes the selected event condition or event link condition. it can also be deleted by del key. if only one event condition or event link condition in the break condition setting area is selected and is clicked or the item is double-clicked, the event dialog box or event link dialog box is opened and the event condition or event link condition contents are displayed. (3) event manager area this area displays a list of each of the entered events, event link, break, trace, snapshot note 1 , dmm note 2 , timer note 1 , and stub note 3 events. an event or event link condition that is displayed in the event manager area can be set in the break condition setting area by clicking . also, event conditions or event link conditions in the event manager area can be dragged directly to the break condition setting area. when the focus is on the event manager area, select the event icon and click , or press the del key to delete the selected event. also, when the focus is on the event manager area, select one event icon, then click , or double-click the event icon to open the setting dialog box corresponding to the selected event and display the event ? s setting contents. by clicking , it is possible to select the event manager area display mode or sequencing. notes 1. not supported in the id78k4-ns 2. not supported in the id78k4 (-ns) 3. supported only in the id78k4
chapter 6 window reference user ? s manual u15185ej1v0um 317 function buttons closes the break dialog box. if there is a break event condition that is being edited, it is entered automatically and the dialog box is closed. a break event conditions are enabled as soon as it is entered. newly creates a break event condition. a break event name is generated automatically and a newly created break event condition is prepared. after it is created, be sure to enter the break event condition using the or the button. enters the break event condition. this button is displayed when a new break event condition is created or when the contents of a break event condition have been changed. in this case, be sure to enter the break event condition. if a break event condition that has already been entered is displayed, this button changes to either the button or the button. a break event condition is enabled as soon as it is entered. enables a break event condition. this button is displayed in cases where a break event condition is in the disabled state. it changes to either the button or the button. disables a break event condition. this button is displayed in cases where a break event condition is in the enabled state. it changes to either the button or the button. clears the contents of a break event condition. if a break event condition is entered but not edited, this button is displayed. it changes to the button. restores the break event condition to its original contents. if a break event condition that has not been entered is displayed, the display area is restored to the blank state except for the break event name. this button is displayed in the case where a break event condition is being edited. it changes to the button.
chapter 6 window reference user ? s manual u15185ej1v0um 318 closes this dialog box. if a break event condition is not being created/changed/deleted, this button is displayed. even if a break event condition is being edited, this dialog box is closed without entering the condition. the esc key has the same operation. closes this dialog box. if a break event condition has being created/changed/deleted, the button becomes this button. even if a break event condition is being edited, this dialog box is closed without entering the condition. the esc key has the same operation. opens the help window. opens the event dialog box in the select mode and selects the set event condition. opens the event link dialog box in the select mode and selects the set event link condition. displays the contents of an event selected in the break condition setting area or the event manager area by opening each setting dialog box. its operation is the same as double-clicking the event icon. when the event icon is not selected, or if multiple icons have been selected, this button is disabled. deletes an event selected in the break condition setting area or the event manager area. pressing the del key performs the same operation. expand displays the event manager area. expands the size of the dialog box. when the event manager area is not displayed, this button is displayed in place of the button. does not display the event manager area. shrinks the size of the dialog box. when the event manager area is displayed, this button is displayed in place of the expand button. adds the event condition or event link condition selected in the event manager area to the break condition setting area. an event other than an event condition or an event link condition cannot be added.
chapter 6 window reference user ? s manual u15185ej1v0um 319 opens the event info dialog box. the button rearranges events in name order and displays them. the button rearranges the events in order by type and displays them. the button displays the events in the order in which they were entered without rearranging them. the button changes the event manager area to the detailed display mode. the button changes the event manager area to the list display mode. the button or the esc key closes the dialog box. opens the set other dialog box. clicking each button opens the event manager and the event, event link, trace, snap shot note 1 , dmm note 2 , timer note 1 , or stub note 3 dialog box, and closes the dialog box. close the dialog box by clicking or and return to the break dialog box. notes 1. not supported in the id78k4-ns 2. not supported in the id78k4 (-ns) 3. supported only in the id78k4
chapter 6 window reference user ? s manual u15185ej1v0um 320 trace dialog box general registers, sets, and displays trace event conditions. the trace event conditions registered in this dialog box are automatically registered to the event manager. opening method this dialog box can be opened by one of the following methods. ? in the main window select [event] [t race ] from the menu bar. press the grph + n , and t keys in that order. click the button on the toolbar. ? in the event dialog box click the button. press the shortcut keys grph + t . ? execute one of the following operations in the event manager area in the event, event link, break, snap shot note 1 , dmm note 2 , timer note 1 , or stub note 3 dialog box. select the trace event condition and click the button. select the trace event condition and press the shortcut keys grph + o . double-click the trace event condition. ? execute one of the following operations in the event manager. select the trace event condition and click the button. double-click the trace event condition. ? execute one of the following operations in the new event dialog box or set other dialog box. click the button. press the shortcut keys grph + t . notes 1. not supported in the id78k4-ns 2. not supported in the id78k4 (-ns) 3. supported only in the id78k4
chapter 6 window reference user?s manual u15185ej1v0um 321 window figure 6-66. trace dialog box (1) trace event name setting area (4) trace end condition setting area (2) delay trigger condition setting area note (5) qualify trace condition setting area (3) trace start condition setting area (6) event manager area note supported only in the id78k4 function sets various types of trace operations, and registers, sets and displays trace event conditions. the trace operation settings shown in (a) and (b) below can be executed. (a) operation when trace data is written to entire trace memory the trace frame makes a scan of the trace memory and when it arrives at the oldest frame, it continues the trace operation and overwrites the oldest trace frame. (b) setting trace event conditions the following three types of trace event conditions can be set when the ie-78k0-ns-pa is installed in the ie- 78k0-ns, when the ie-78k0-ns-a or ie-78k0s-ns-a is used, or when the ie-784000-r is used, ? section trace start event condition ? section trace end event condition ? qualify event condition (1) (2) (3) (6) (4) (5)
chapter 6 window reference user ? s manual u15185ej1v0um 322 the following event condition can be set only when the ie-784000-r is used. ? delay trigger event condition up to 256 trace event conditions can be entered. however, the number of trace event conditions that can be used simultaneously is 1 note . trace event conditions become valid automatically when they are entered. however, if an enabled trace event condition already exists, or if the number of event conditions or event link conditions in use exceeds the number that can be used simultaneously, the trace event conditions are entered in the disabled state. also, in this case, a trace event condition cannot be enabled. a trace is performed only when the tracer is in the enabled state. set it by the procedure shown below. note ten trace event conditions can be used in the id78k4. ? when performing a trace or a qualify trace, select [run] [con d. trace on], and in other cases, select [run] [uncond . trace on]. during emulation, in order to stop the currently operating tracer, select [run] [trac er stop] from the menu bar. also, during emulation, in order to run the currently stopped tracer, select [run] [trac er start] from the menu bar. these two menus toggle and their display changes according to the current tracer state. note, however, that this operation is valid only when [run] [ignore break p oint] is selected and executed. this dialog box consists of the following areas. ? trace event name setting area ? delay trigger condition setting area note ? trace start condition setting area ? trace end condition setting area ? qualify trace condition setting area ? event manager area note supported only in the id78k4 the function of each area is explained below. (1) trace event name setting area this area sets trace event names and selects trace event conditions. when entering a trace event condition, it is necessary to set a trace event name. trace event names that can be set must be of 8 alphanumeric characters or less. when displaying trace event conditions which have already been created, either type the trace event name of the already created trace event condition in the text box or select one from the drop-down list in the trace event name setting area.
chapter 6 window reference user ? s manual u15185ej1v0um 323 clicking the mark in the trace event name setting area switches between enabling or disabling the trace event condition. the relationship between the color of the character in the mark and the status is shown below. color of character in mark condition red indicates that the trace event condition has been enabled. a trace event occurs if the condition is satisfied. black indicates that the trace event condition has not been enabled. no trace event occurs if the condition is satisfied. gray indicates that the trace event condition is currently being edited and that it has not been entered. yellow indicates that the trace event is an event which is in the hold state. an event in the hold state is in a state where the symbol specified by the event condition by program download, etc. cannot be referred to. (2) delay trigger condition setting area (id78k4 only) this area sets the delay trigger event condition. it is blank in the case of newly created event conditions. the number of event conditions that can be set in the delay trigger condition setting area is up to 10 (3 execution events and 7 access events). (3) trace start condition setting area this area sets an event condition for starting a trace. in the ID78K0-NS, id78k0s-ns, the number of event conditions that can be set in the trace start condition setting area is 16 (8 execution events and 8 access events). in the id78k4, up to 10 event conditions (3 execution events and 7 access events) can be set. the number of event link conditions that can be set is 2. in the id78k4-ns, the number of event conditions that can be set is 1. carry out setting of the trace start conditions by one of the following methods.
chapter 6 window reference user ? s manual u15185ej1v0um 324 ? click and open the event dialog box in the select mode, then select the event condition which is to be set. ? click and open the event link dialog box in the select mode, then select the event link condition which is to be set. ? select one or more event condition or event link condition in the event manager area and click , or make the setting by drag-and-drop. when setting the event condition or event link condition by drag-and-drop, besides the event manager area in the trace dialog box, it is possible to set it from the event manager area and event manager in each setting dialog box. when the focus is on the trace start condition setting area, click the button, or press the del key to delete the selected event condition or event link condition. it is possible to move and copy event conditions and event link conditions in the trace start condition setting area back and forth among the different setting areas in the trace dialog box by drag-and-drop operations, as shown below. ? if an event condition or event link condition is dropped only by the mouse, it is moved. ? if it is dropped while pressing the shift key, the event condition or event link condition is moved. ? if it is dropped while pressing the ctrl key, the event condition or event link condition is copied. selecting an event condition or event link condition in the trace start condition setting area and clicking or double-clicking it opens the event dialog box or event link dialog box and displays the contents of the event condition or event link condition. the trace start condition setting area is left blank when there is a newly created trace event condition. (4) trace end condition setting area this sets an event condition for ending a trace. when trace stop is selected in the trace full mode, the trace end condition cannot be set. the number of event conditions that can be set in the trace end condition setting area is 16 (8 execution events and 8 access events). in the id78k4, up to 10 event conditions (3 execution events and 7 access events) can be set. the number of event link conditions that can be set is 2. in the id78k4-ns, the number of event conditions that can be set is 1. carry out setting of the trace end conditions by one of the following methods. ? click and open the event dialog box in the select mode, then select the event condition which is to be set. ? click and open the event link dialog box in the select mode, then select the event link condition which is to be set. ? select one or more event condition or event link condition in the event manager area and click , or make the setting by drag-and-drop.
chapter 6 window reference user ? s manual u15185ej1v0um 325 when setting the event condition or event link condition by drag-and-drop, besides the event manager area in the trace dialog box, it is possible to set it from the event manager area and event manager in each setting dialog box. when the focus is on the trace ending condition setting area, click the button, or press the del key to delete the selected event condition or event link condition. it is possible to move and copy event conditions and event link conditions in the trace end condition setting area back and forth among the different setting areas in the trace dialog box by drag-and-drop operations, as shown below. ? if an event condition or event link condition is dropped only by the mouse, it is moved. ? if it is dropped while pressing the shift key, the event condition or event link condition is moved. ? if it is dropped while pressing the ctrl key, the event condition or event link condition is copied. selecting an event condition or event link condition in the trace end condition setting area and clicking or double-clicking it opens the event dialog box or event link dialog box and displays the contents of the event condition or event link condition. the trace end condition setting area is left blank when there is a newly created trace event condition. (5) qualify trace condition setting area this area sets event conditions for a qualify trace. a qualify trace is executed only when the trace condition is satisfied. if two or more event conditions are set, the trace is executed when each event condition is satisfied. the number of event conditions that can be set in the qualify trace condition setting area is 4 (4 access events) note 1 . the number of event link conditions that can be set is 1 note 2 . carry out setting of the qualify trace condition by either of the following methods. notes 1. for the ie-784000-r, up to 10 event conditions 2. for the ie-784000-r, the number of event link conditions is up to 2 ? click and open the event dialog box in the select mode, then select the event condition which is to be set. ? select one or more event condition in the event manager area and click , or make the setting by drag-and-drop. when setting the event condition by drag-and-drop, besides the event manager area in the trace dialog box, it is possible to set it from the event manager area and event manager in each setting dialog box. when the focus is on the qualify trace condition setting area, click the button, or press the del key to delete the selected event condition. it is possible to move and copy event conditions in the qualify trace condition setting area back and forth among the different setting areas in the trace dialog box by drag-and-drop operations, as shown below.
chapter 6 window reference user ? s manual u15185ej1v0um 326 ? if an event condition is dropped only by the mouse, it is moved. ? if it is dropped while pressing the shift key, the event condition is moved. ? if it is dropped while pressing the ctrl key, the event condition is copied. the event condition in the qualify trace condition setting area can be moved or copied alternately with other setting areas in the trace dialog box by a drag-and-drop operation. selecting an event condition in the qualify trace condition setting area and clicking or double- clicking it opens the event dialog box and displays the contents of the event condition. the qualify trace condition setting area is left blank when there is a newly created trace event condition. (6) event manager area this area displays list of each event, event link, break, trace, snapshot note 1 , dmm note 2 , timer note 1 , and stub note 3 event. by selecting an event condition or event link condition displayed in the event manager area and clicking , the event condition or event link condition, etc. can be set in the delay trigger condition setting area, trace start condition setting area, trace end condition setting area, qualify trace condition setting area and other setting areas. also the event condition or event link condition in the event manager area can be directly dragged to each event setting area. when the focus is on the event manager area, select an event icon, and click the button, or press the del key to delete the selected event. when the focus is on the event manager area, selecting an event icon and clicking or double- clicking an event icon opens the setting dialog box corresponding to the selected event, and displays the contents of the event. by clicking , it is possible to select the event manager area display mode or sequencing. notes 1. not supported in the id78k4-ns 2. not supported in the id78k4 (-ns) 3. supported only in the id78k4 function buttons closes the trace dialog box. if there is a trace event condition that is being edited, it is entered automatically and the dialog box is closed. a trace event condition becomes enabled as soon as it is entered.
chapter 6 window reference user ? s manual u15185ej1v0um 327 newly creates a trace event condition. a trace event name is generated automatically and a newly created trace event condition is prepared. after it is created, be sure to enter the trace event condition using the or the button. enters a trace event condition. when a new trace event condition has been created or when the contents of a trace event condition have been changed, be sure to enter the trace event condition using this button. if trace event conditions that have already been entered are displayed, it changes to either the button or button. a trace event condition becomes enabled as soon as it is entered. enables a trace event condition. this button is displayed in cases where a trace event condition is in the disabled state. it changes to either the button or the button. disables a trace event condition. this button is displayed in cases where a trace event condition is in the enabled state. it changes to either the button or the button. clears the contents of a trace event condition. if a trace event condition is entered but not edited, this button is displayed. it changes to the button. returns the contents of a trace event condition to the original contents. if a trace event condition that has not been entered is displayed, all the area is made blank except the trace event name, or the settings return to the default settings. if a trace event condition is being edited, the button is displayed in place of this button. closes the trace dialog box. if a trace event condition is not being created/changed/deleted, this button is displayed. even if a trace event condition is being edited, the dialog box closes without the trace event condition being entered. the esc key has the same operation.
chapter 6 window reference user ? s manual u15185ej1v0um 328 closes the trace dialog box. if a trace event condition has been created/changed/deleted, after that, the button becomes this button. even if there is a trace event condition that is being edited, the dialog box closes without the trace event condition being entered. the esc key has the same operation. opens the help window. opens the event dialog box in the select mode and adds an event condition to the selected position in the delay trigger condition setting area, trace start condition setting area, trace end condition setting area or qualify trace condition setting area. the area where the event condition is added becomes the selected area when is clicked. opens the event link dialog box in the select mode and adds an event link condition to the selected position in the trace start condition setting area, trace end condition setting area or qualify trace condition setting area. the area where the event link condition is added becomes the selected area when is clicked. displays the event contents selected in the trace start condition setting area, trace end condition setting area, qualify trace condition setting area or event manager area by opening each setting dialog box. its operation is the same as double-clicking the event icon. when the event icon is not selected, or if multiple icons have been selected, this button is disabled. opens the event link dialog box in the select mode and deletes the event selected in the trace start condition setting area, trace end condition setting area, qualify trace condition setting area or event manager area. the del key has the same operation. expand displays the event manager area. expands the size of the dialog box. when the event manager area is not displayed, this button is displayed in place of the button. does not display the event manager area. shrinks the size of the dialog box. when the event manager area is displayed, this button is displayed in place of the expand button.
chapter 6 window reference user ? s manual u15185ej1v0um 329 adds the event condition or event link condition selected in the event manager area to the selected position in the trace start condition setting area, trace end condition setting area or qualify trace condition setting area. the area where the event condition is added becomes the selected area when is clicked. opens the event info dialog box. the button rearranges events in name order and displays them. the button rearranges the events in order by type and displays them. the button displays the events in the order in which they were entered without rearranging them. the button changes the event manager area to the detailed display mode. the button changes the event manager area to the list display mode. the button or the esc key closes the dialog box.
chapter 6 window reference user ? s manual u15185ej1v0um 330 opens the set other dialog box. clicking each button opens the event, event link, break, snap shot note 1 , dmm note 2 , timer note 1 , or stub note 3 dialog box and the event manager, and closes the set other dialog box. close the dialog box by clicking or and return to the trace dialog box. notes 1. not supported in the id78k4-ns 2. not supported in the id78k4 (-ns) 3. supported only in the id78k4
chapter 6 window reference user?s manual u15185ej1v0um 331 snap shot dialog box (not supported in the id78k4-ns) general registers, sets, and displays snapshot event conditions. the snapshot event condition registered in this dialog box is automatically registered to the event manager. this is valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns-a or ie-78k0s-ns-a is used, or when the ie-784000-r is used. opening method this dialog box can be opened by one of the following methods. ? in the main window select [event] [s nap shot ] from the menu bar. press the grph + n , and s keys in that order. ? in the event dialog box click the button. press the shortcut keys grph + s . ? execute one of the following operations in the event manager area in the event, event link, break, trace, dmm note 1 , timer, or stub note2 dialog box. select the snapshot event condition and click the button. select the snapshot event condition and press the shortcut keys grph + o . double-click the snapshot event condition. ? execute one of the following operations in the event manager. select the snapshot event condition and click the button. double-click the snapshot event condition. ? execute one of the following operations in the new event dialog box or set other dialog box. click the button. press the shortcut keys grph + s . notes 1. not supported in the id78k4-ns 2. supported only in the id78k4
chapter 6 window reference user?s manual u15185ej1v0um 332 window figure 6-67. snap shot dialog box (1/2) selection of register snap data selection of sfr snap data (1) snapshot event name setting area (5) sfr snap data setting area (2) snapshot condition setting area (6) there is no relevant area in this state (3) snap data select area (7) snap data display area (4) register snap data setting area (8) event manager area (1) (4) (2) (7) (3) (8) (1) (2) (7) (3) (8) (5)
chapter 6 window reference user?s manual u15185ej1v0um 333 figure 6-67. snap shot dialog box (2/2) selection of memory snap data (1) snapshot event name setting area (5) there is no relevant area in this state (2) snapshot condition setting area (6) memory snap data setting area (3) snap data select area (7) snap data display area (4) there is no relevant area this state (8) event manager area function registers, sets, and displays snapshot event conditions. snapshot is for saving the contents of the registers, memory and sfrs when the program is executed in the trace buffer. the timing at which snapshot is to be performed is specified by a snapshot event condition. up to 256 snapshot event conditions can be set. however, the number of snapshot event conditions that can be used simultaneously is 1. snapshot event conditions become valid automatically when they are entered. however, if the number of snapshot event conditions exceeds the number that can be used simultaneously, or if the number of event conditions or event link conditions in use exceeds the number that can be used simultaneously, the snapshot event conditions are entered in the disabled state. also, in this case, a snapshot event condition cannot be enabled. up to 16 items of snap data can be set for each of the registers, sfrs, and memory, for a total of up to 48 items. (7) (6) (2) (1) (3) (8)
chapter 6 window reference user?s manual u15185ej1v0um 334 this dialog box consists of the following areas. ? snapshot event name setting area ? snapshot condition setting area ? snap data select area ? register snap data setting area ? sfr snap data setting area ? memory snap data setting area ? snap data display area ? event manager area the function of each area is explained below. (1) snapshot event name setting area this area sets a snapshot event name and displays a snapshot event condition. when entering a snapshot event condition, it is necessary to set a snapshot event name. a snapshot event name may consist of up to eight alphanumeric characters. when displaying snapshot event conditions which have already been created, either type the name of the already created snapshot event condition in the text box or select the snapshot event condition from the drop- down list in the snapshot event name setting area. clicking the mark in the snapshot event name setting area switches between enabling or disabling the snapshot event condition. the relationship between the color of the character in the mark and the status is shown below. color of character in mark condition red indicates that the snapshot event condition has been enabled. a snapshot event occurs if the condition is satisfied. black indicates that the snapshot event condition has not been enabled. no snapshot event occurs even if the condition is satisfied. gray indicates that the snapshot event condition is currently being edited and that it has not been entered. yellow indicates that the snapshot event is an event which is in the hold state. an event in the hold state is in a state where the symbol specified by the event condition by program download, etc. cannot be referred to.
chapter 6 window reference user?s manual u15185ej1v0um 335 (2) snapshot condition setting area this area sets a snapshot event condition. only one event condition or event link condition can be set in the snapshot condition setting area. carry out setting of the snapshot condition by either of the following methods. ? click and open the event dialog box in the select mode, then select the event condition which is to be set. ? click and open the event link dialog box in the select mode, then select the event link condition which is to be set. ? select an event condition or event link condition in the event manager area and click , or make the setting by a drag-and-drop operation. if an event condition or event link condition is already set in the snapshot condition setting area, it is replaced by the newly set event condition or event link condition. when setting the event condition or event link condition by drag-and-drop, besides the event manager area in the snap shot dialog box, it is possible to set it from the event manager area and event manager in each setting dialog box. when the focus is on the snapshot condition setting area, click the button, or press the del key to delete the selected event condition or event link condition. selecting an event condition or event link condition in the snapshot condition setting area and clicking or double-clicking it opens the event dialog box or event link dialog box and displays the contents of the event condition or event link condition. the snapshot condition setting area is left blank when there is a newly created snapshot event condition. (3) snap data select area this area selects the type of snap data. the following three types of snap data are available. item contents register a register can be registered. sfr an sfr can be registered. memory memory can be registered.
chapter 6 window reference user?s manual u15185ej1v0um 336 the following displays are switched by selection in the snap data select area. ? register snap data setting area ? sfr snap data setting area ? memory snap data setting area also, if snap data is selected in the snap data display area, the selection items in the snap data select area change in accordance with the type of snap data selected. (4) register snap data setting area enter, change or delete register snap data in this area. this area is displayed by selecting register in the snap data select area. snap data which is entered/changed/deleted here is reflected in the snap data display area. if register snap data is selected in the snap data display area, the contents of the selected register snap data are displayed. up to 16 items of register snap data can be entered. the register snap data setting area consists of the following items. (a) register name setting area this specifies the register name. specification of a register name is accomplished by selecting the register name from a drop-down list. a general-purpose register or control register can be specified. uppercase and lowercase characters are not distinguished (in the trace view window, all the characters are standardized to uppercase characters and displayed). names that can be specified are function names and absolute names. note, however, that the snap data displayed in the trace view window is always displayed as an absolute name. to specify all the registers, select all from the drop-down list or specify directly in the text box. for a newly created snapshot event condition, this area is blank. when entering register snap data, it is necessary to specify a register name.
chapter 6 window reference user?s manual u15185ej1v0um 337 (b) register bank setting area this area specifies the register bank. to specify the register bank, enter the value directly in the text box or select from the drop-down list. the setting range is as follows. [when ie-78k0-ns-pa is installed in the ie-78k0-ns or when ie-78k0-ns-a or ie-78k0s-ns-a is used] setting range: 0 register bank 3 [when ie-784000-r is used] setting range: 0 register bank 7 to specify the current bank, select ?current? from the drop-down list or enter ?current? or ?c? (abbreviation) directly in the text box. if the register bank specification is omitted, the current bank will be specified. for a newly created snapshot event condition, this area is blank. (c) button enters register snap data. entered snap data is inserted in the snap data display area?s select position and displayed. (d) button changes the contents of snap data selected in the snap data display area to the specified register snap data. (e) button deletes the snap data selected in the snap data display area. if the focus is on the snap data display area, the same kind of operation can be performed using the del key. (f) button restores the contents of the snap data display area to the original contents.
chapter 6 window reference user?s manual u15185ej1v0um 338 (5) sfr snap data setting area enter, change or delete sfr snap data in this area. this area is displayed by selecting sfr in the snap data select area. snap data which is entered/changed/deleted here is reflected in the snap data display area. if sfr snap data is selected in the snap data display area, the contents of the selected sfr snap data are displayed. up to 16 items of sfr snap data can be entered. the sfr snap data setting area consists of the following items. (a) sfr name setting area this area specifies the sfr name. only sfr names that are possible to read can be specified. also, sfr bit names and i/o port names entered in the add i/o port dialog box cannot be specified. the sfr name can be set by typing the sfr name directly in the text box or by selecting the sfr name from the drop-down list. sfr names are not case sensitive (in the trace view window, all the characters are standardized to uppercase characters and displayed). for a newly created snapshot event condition, this area is blank. when entering sfr snap data, it is necessary to specify an sfr name. (b) button enters sfr snap data. entered snap data is inserted in the snap data display area?s select position and displayed. (c) button changes the contents of snap data selected in the snap data display area to the specified sfr snap data. (d) button deletes the snap data selected in the snap data display area. if the focus is on the snap data display area, the same kind of operation can be performed using the del key. (e) button restores the contents of the snap data display area to the original contents.
chapter 6 window reference user?s manual u15185ej1v0um 339 (6) memory snap data setting area this area specifies the range of the memory data for the snapshot and access size. this area is displayed only when memory is selected in the snap data select area. snap data which is entered/changed/deleted here is reflected in the snap data display area. if memory snap data is selected in the snap data display area, the contents of the selected memory snap data are displayed. up to 16 items of memory snap data can be entered. the memory snap data setting area consists of the following items. (a) memory address setting area this area specifies the memory address range. input the start address and end address, in that order. the setting range is as shown below. [when ie-78k0-ns-pa is installed in the ie-78k0-ns or when ie-78k0-ns-a or ie-78k0s-ns-a is used] setting range: 0 address 0xffff [when ie-784000-r is used] setting range: 0 address 0xfffff if a value is input for the start address only and the end address is omitted, it is regarded as if the value specified for the end address was the same as that specified for the start address. if the specified address range cannot be divided by the access size, the address range is rounded up and corrected to a range that can be divided by the access size. for the address range specification, it is possible to specify by a symbol or an expression. the specification method is the same as in the address move dialog box. the default radix when numerical values are input is hexadecimal. if an expression or symbol is specified in the memory address setting area and then entered and changed, the converted address value is displayed together with the specified expression or symbol in the snap data display area. only the converted address value is displayed for snap data displayed in the trace view window. for a newly created snapshot event condition, this area is blank. when entering memory snap data, it is necessary to specify a starting address.
chapter 6 window reference user?s manual u15185ej1v0um 340 (b) memory display size setting area this area specifies the memory snap data access size. the access size can be specified by typing the value directly in the text box or by selecting it from the drop-down list. the following can be specified. access size abbreviated form contents byte b memory snapshot is executed in 8-bit units. word w memory snapshot is executed in 16-bit units. double word dw memory snapshot is executed in 32-bit units. remark the specified characters are not case sensitive. for a newly created snapshot event condition, this area is blank. when entering memory snap data, it is necessary to specify the access size. (c) button enters memory snap data. entered snap data is inserted in the snap data display area?s select position and displayed. (d) button changes the contents of snap data selected in the snap data display area to the specified memory snap data. (e) button deletes the snap data selected in the snap data display area. if the focus is on the snap data display area, the same kind of operation can be performed using the del key. (f) button restores the contents of the snap data display area to the original contents.
chapter 6 window reference user?s manual u15185ej1v0um 341 (7) snap data display area this area lists the registered snap data. snap data, including registers, sfrs, and memory data, can be registered. the registered snap data is written to the tracer when a snapshot event occurs. if snap data is selected in the snap data list, the contents of the selected snap data are displayed in the setting areas for the register, the sfr, and memory. each type of snap data is displayed as follows. (a) register snap data register name example rp0[0] rp1[current] all[2] (b) sfr snap data sfr name example pm0 pm1 (c) memory snap data starting address ? end address , access size example 0xfe20, b 0xfe22, w 0xfe30?0xfe2f, b remark symbols or expressions specified in the address are enclosed by ?< >?.
chapter 6 window reference user?s manual u15185ej1v0um 342 (8) event manager area this area displays a list of each of the entered event and event link conditions, and break, trace, snapshot, dmm note 1 , timer, and stub note 2 events. an event or event link condition that is displayed in the event manager area can be set in the snapshot condition setting area by clicking the button. also, event conditions or event link conditions in the event manager area can be dragged directly to the snapshot condition setting area. when the focus is on the event manager area, select an event icon and click the button, or press the del key to delete the selected event. when the focus is on the event manager area, selecting an event icon and clicking or double- clicking an event icon opens the setting dialog box corresponding to the selected event and displays the contents of the event. by clicking , it is possible to select the event manager area display mode or sequencing. notes 1. not supported in the id78k4-ns 2. supported only in the id78k4 function buttons closes the snap shot dialog box. if there is a snapshot event condition that is being edited, it is entered automatically and the dialog box is closed. a snapshot event condition becomes enabled as soon as it is entered. newly creates a snapshot event condition. a snapshot event name is generated automatically and a newly created snapshot event condition is prepared. after it is created, be sure to enter the snapshot event condition using the or the button. enters a snapshot event condition. when a new snapshot event condition has been created or when the contents of a snapshot event condition have been changed, be sure to enter the snapshot event condition using this button. if snapshot event conditions that have already been entered are displayed, it changes to either the button or button. a snapshot event condition becomes enabled as soon as it is entered.
chapter 6 window reference user?s manual u15185ej1v0um 343 enables a snapshot event condition. this button is displayed in cases where a snapshot event condition is in the disabled state. it changes to either the button or the button. disables a snapshot event condition. this button is displayed in cases where a snapshot event condition is in the enabled state. it changes to either the button or the button. clears the contents of a snapshot event condition. if a snapshot event condition is entered but not edited, this button is displayed. it changes to the button. returns the contents of a snapshot event condition to the original contents. if a snapshot event condition that has not been entered is displayed, all the area except the snapshot event name is made blank. if a snapshot event condition is being edited, the button is displayed in place of this button. closes the snap shot dialog box. if a snapshot event condition is not being created/changed/deleted, this button is displayed. even if a snapshot event condition is being edited, the dialog box closes without the snapshot event condition being entered. the esc key has the same operation. closes the snap shot dialog box. if a snapshot event condition has been created/changed/deleted, after that, the button becomes this button. even if there is a snapshot event condition that is being edited, the dialog box closes without the snapshot event condition being entered. the esc key has the same operation. opens the help window. opens the event dialog box in the select mode and selects the event condition to be set. opens the event link dialog box in the select mode and selects the event link condition to be set.
chapter 6 window reference user?s manual u15185ej1v0um 344 displays the event contents selected in the snapshot condition setting area or event manager area by opening the corresponding setting dialog box. the button is enabled only when the focus is on the snapshot condition setting area or the event manager area, and when a single event is selected. in cases other than that, it is dimmed and cannot be clicked. deletes an event selected in the snapshot condition setting area or event manager area. the button is enabled only when the focus is on the snapshot condition setting area or the event manager area, and when an event is selected. in cases other than that, it is dimmed and cannot be clicked. the del key has the same operation. expand displays the event manager area. expands the size of the dialog box. when the event manager area is not displayed, this button is displayed in place of the button. does not display the event manager area. shrinks the size of the dialog box. when the event manager area is displayed, this button is displayed in place of the expand button. adds the event condition or event link condition selected in the event manager area to the selected position in the snapshot event condition setting area. events other than the event condition or event link condition cannot be added. opens the event info dialog box. the button rearranges events in name order and displays them. the button rearranges the events in order by type and displays them. the button displays the events in the order in which they were entered without rearranging them.
chapter 6 window reference user ? s manual u15185ej1v0um 345 the button changes the event manager area to the detailed display mode. the button changes the event manager area to the list display mode. the button or the esc key closes the dialog box. opens the set other dialog box. clicking each button opens the event manager and the event, event link, break, trace, dmm note 1 , timer, or stub note 2 dialog box, and closes the set other dialog box. close the dialog box by clicking the or and return to the snap shot dialog box. notes 1. not supported in the id78k4 (-ns) 2. supported only in the id78k4
chapter 6 window reference user ? s manual u15185ej1v0um 346 stub dialog box (supported only in the id78k4) general registers, sets, and displays stub event conditions. the stub event condition registered in this dialog box is automatically registered to the event manager. opening method this dialog box can be opened by one of the following methods. ? in the main window select [event] [stu b ? ] from the menu bar. press the grph + n , and u keys in that order. ? in the event dialog box click the button. press the shortcut keys grph + u . ? execute one of the following operations in the event manager area in the event, event link, break, trace, snap shot, or timer dialog box. select a stub event condition and click the button. select a stub event condition and press the shortcut keys grph + o . double-click a stub event condition. ? execute one of the following operations on the event manager. select a stub event condition and click the button. double-click a stub event condition. ? execute one of the following operations in the new event dialog box and set other dialog box. click the button. press the shortcut keys grph + u .
chapter 6 window reference user ? s manual u15185ej1v0um 347 window figure 6-68. stub dialog box when event manager area is displayed when event manager area is not displayed (1) stub event name setting area (3) jump address setting area (2) stub condition setting area (4) event manager area (3) (2) (1) (4) (1) (3) (2)
chapter 6 window reference user ? s manual u15185ej1v0um 348 function registers, sets, and displays stub event conditions. the stub function is to execute a user program that has been downloaded or written by online assemble in advance to a vacant area of the memory when an event condition is satisfied. the timing at which stub function is to be performed is specified by a stub event condition. up to 256 stub event conditions can be set. however, only one stub event condition can be used at a time. stub event conditions become invalid automatically as soon as they are entered. however, if the number of stub event conditions exceeds the number that can be used simultaneously, or if the number of event conditions or event link conditions in use exceeds the number that can be used simultaneously, the stub event conditions are entered in the disabled state. also, in this case, a stub event condition cannot be enabled. this dialog box consists of the following areas. ? stub event name setting area ? stub condition setting area ? jump address setting area ? event manager area the function of each area is explained below. (1) stub event name setting area this area sets a stub event name and selects a stub event condition. when entering a stub event condition, it is necessary to set a stub event name. a stub event name may consist of up to eight alphanumeric characters. when displaying a stub event condition that has already been created, either type the name of the already created stub event in the text box or select the stub event condition from the drop-down list in the stub event name setting area. clicking the mark in the stub event name setting area switches between enabling or disabling the stub event condition. the relationship between the color of the character in the mark and the status is as shown below. color of character in mark condition red indicates that the stub event condition has been enabled. a stub event occurs if the condition is satisfied. black indicates that the stub event condition has been disabled. no stub event occurs even if the condition is satisfied. gray indicates that the stub event condition is currently being edited and that it has not been entered. yellow indicates that the stub event is an event which is in the hold state. an event in the hold state is in a state in which the symbol specified by the event condition cannot be referred to due to program download, etc.
chapter 6 window reference user ? s manual u15185ej1v0um 349 (2) stub condition setting area this area sets a stub event condition. only one event condition or event link condition can be set in the stub condition setting area. carry out setting of the stub condition by either of the following methods. ? click the button to open the event dialog box in the select mode, then select the event link condition to be set. ? click the button to open the event link dialog box in the select mode, then select the event link condition to be set. ? select an event condition or event link condition in the event manager area and click the button, or make the setting by a drag-and-drop operation. if an event condition or an event link condition is already set in the stub condition setting area, it is replaced by the newly set event condition or event link condition. when setting the event condition or an event link condition by drag-and-drop, in addition to the event manager area in the stub dialog box, it is possible to set it from the event manager area and event manager in each setting dialog box. when the focus is on the stub condition setting area, click the button to delete the selected event condition or event link condition. the event condition or event link condition can also be deleted by pressing the del key. selecting an event condition or an event link condition in the stub condition setting area and clicking the button or double-clicking the selection opens the event dialog box or event link dialog box and the displays contents of the event condition or event link condition. the stub condition setting area is left blank when there is a newly created stub event condition. (3) jump address setting area this area specifies the first address of the function to be executed when a stub event occurs. to return from a specified function to the original position when a stub event occurs, the ? retb instruction ? must be described in the function. the first address of the function can be also specified by a symbol or an expression, in the same manner as in the address move dialog box. the default radix when inputting a numerical value is hexadecimal. specify the first address of the function in the following setting range: setting range: 0 first address of function 0xfffff the jump address setting area is left blank when there is a newly created stub event condition.
chapter 6 window reference user ? s manual u15185ej1v0um 350 (4) event manager area this area displays a list of the entered events, event links, breaks, traces, snap shots, stubs, and timers. an event or event link condition that is displayed in the event manager area can be set in the stub condition setting area by clicking the button. also, the event conditions or event link conditions in the event manager area can be dragged directly to the stub condition setting area. when the focus is on the event manager area, select an event icon and click the button, or press the del key to delete the selected event. when the focus on the event manager area, selecting an event icon and clicking the button or double-clicking the event icon opens the setting dialog box corresponding to the selected event and displays the set contents of the event. by clicking the button, it is possible to select the event manager area display mode or sequencing. function buttons closes the stub dialog box. if there is a stub event condition that is being edited, it is entered automatically and the dialog box is closed. a stub event condition becomes enabled as soon as it is entered. newly creates a stub event condition. a stub event name is generated automatically and a newly created stub event condition is prepared. after it is created, be sure to enter the stub event condition using the or the button. enters a stub event condition. when a new stub event condition has been created or when the contents of the stub event condition have been changed, be sure to enter the stub event condition using this button. if stub event conditions that have already been entered are displayed, it changes to either the button or the button. a stub event condition becomes enabled as soon as it is entered. enables a stub event condition. this button is displayed in cases where a stub event condition is in the disabled state. it changes to either the button or the button.
chapter 6 window reference user ? s manual u15185ej1v0um 351 disables a stub event condition. this button is displayed in cases where a stub event condition is in the enabled state. it changes to either the button or the button. clears the contents of a stub event condition. if a stub event condition is entered but not edited, this button is displayed. it changes to the button. returns the contents of a stub event condition to the original contents. if a stub event condition that has not been entered is displayed, all the area except the stub event name is made blank. if a stub event condition is being edited, the button is displayed in place of this button. closes the stub event dialog box. if a stub event condition is not being created/changed/deleted, this button is displayed. even if a stub event condition is being edited, the dialog box closes without the stub event condition being entered. the esc key has the same operation. closes the stub dialog box. if a stub event condition has been created/changed/deleted, after that, the button becomes this button. even if a stub event condition is being edited, the dialog box closes without the stub event condition being entered. the esc key has the same operation. opens the help window of the stub dialog box. opens the event dialog box in the select mode and selects the event condition to be set. opens the event link dialog box in the select mode and selects an event link condition to be set. displays the event contents selected in the stub condition setting area or event manager area by opening the corresponding setting dialog box. double-clicking the event icon has the same operation. if an event icon is not selected, or if two or more event icons are selected, this button cannot be selected. deletes an event selected in the stub condition setting area or event manager area. the del key has the same operation.
chapter 6 window reference user ? s manual u15185ej1v0um 352 displays the event manger area. expands the size of the dialog box. when the event manager area is not displayed, this button is displayed in place of the button. does not display the event manager area. shrinks the size of the dialog box. when the event manager area is displayed, this button is displayed in place of the button. adds the event condition or event link condition selected in the event manager area to the selected position in the stub condition setting area. events other than an event condition or an event link condition cannot be added. opens the event info dialog box. the button rearranges the events in name order and displays them. the button rearranges the events in order by type and displays them. the button displays the events in the order in which they were entered without rearranging them. the button changes the event manager area to the detailed display mode. the button changes the event manager area to the list display mode. the button or the esc key closes the dialog box.
chapter 6 window reference user ? s manual u15185ej1v0um 353 opens the set other dialog box. clicking each button opens the event manager and the event, event link, break, trace, snap shot, or timer dialog box, and closes set other dialog box. close the dialog box by clicking the button or the button and return to the stub dialg box.
chapter 6 window reference user ? s manual u15185ej1v0um 354 timer dialog box general displays the result of measuring execution time, and registers and sets timer event conditions. the timer event condition registered in this dialog box is automatically registered to the event manager. opening method this dialog box can be opened by the following methods. ? in the main window select [event] [ti mer ] from the menu bar. press the grph + n , and i keys in that order. click the button on the toolbar. ? in the event dialog box click the button. press the shortcut keys grph + i . ? execute one of the following operations in the event manager area in the event, event link, break, trace, snap shot note 1 , or dmm note 2 dialog box. select the timer event condition and click the button. select the timer event condition and press the shortcut keys grph + o . double-click the timer event condition. ? execute one of the following operations in the event manager. select the timer event condition and click the button. double-click the timer event condition. ? execute one of the following operations in the new event dialog box or set other dialog box. click the button. press the shortcut keys grph + i . notes 1. not supported in the id78k4-ns 2. not supported in the id78k4 (-ns)
chapter 6 window reference user ? s manual u15185ej1v0um 355 window figure 6-69. timer dialog box (1/2) id78k0s-ns, ID78K0-NS id78k4-ns (1) timer event name setting area (5) timer rate setting area note 2 (2) timer condition setting area note 1 (6) timer out time setting area note 2 (3) timer display unit select area (7) event manager area note 2 (4) execution time display area notes 1. this is valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns or when the ie-78k0- ns-a or ie-78k0s-ns-a is used. 2. not supported in the id78k4-ns (1) (2) (3) (5) (4) (6) (7) (1) (3) (4)
chapter 6 window reference user ? s manual u15185ej1v0um 356 figure 6-69. timer dialog box (2/2) id78k0, id78k4 (1) timer event name setting area (4) execution time display area (2) timer condition setting area (7) event manager area (3) timer display unit select area note (8) timer measurement select area note supported only in the id78k4 function displays the result of measuring execution time, and registers and sets timer event conditions. the result of measuring execution time is displayed by selecting the set timer event condition. up to 256 timer event conditions can be entered. however, the number of timer event conditions that can be used simultaneously is 16 (3 in the id78k4). timer event conditions become valid automatically when they are entered. however, if the number of timer event conditions exceeds the number that can be used simultaneously, or if the number of event conditions or event link conditions in use exceeds the number that can be used simultaneously, the timer event conditions are entered in the disabled state. also, in this case, a timer event condition cannot be enabled. the execution time from the start of the program to occurrence of a break can be displayed. it can be displayed by selecting ? run-break ? note in the timer event name setting area. a timer event condition is set only when the timer is in the enabled state. if the timer is disabled without checking [option] [tim er on] on the menu bar in the main window, the timer will not be executed. however, ? run-break ? note is not affected by the timer ? s on/off status. ? run-break ? note is included in the number of timer events that can be enabled simultaneously. if there is a vacancy in the setting numbers, ? run- break ? is always enabled and can be used. note for the id78k4-ns, this is fixed to ? section ? . (1) (2) (8) (3) (4) (7)
chapter 6 window reference user ? s manual u15185ej1v0um 357 during emulation, in order to stop the currently operating timer, select [run] [ti mer stop] from the menu bar. also, during emulation, in order to run the currently stopped timer, select [run] [ti mer start] from the menu bar. these two menus toggle and their display changes according to the current timer state. however, only the id78k4-ns displays the result of measuring the execution time of a section trace from the start event to the end event. the timer operates only when a valid section trace event is set. this dialog box consists of the following areas. ? timer event name setting area ? timer condition setting area note 1 ? timer display unit select area ? execution time display area ? timer rate setting area note 2 ? timer out time setting area note 2 ? event manager area note 3 ? timer measurement select area note 4 notes 1. this is valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns-a or ie-78k0s-ns-a is used, or when the ie-78000-r or ie-784000-r is used. 2. not supported in the id78k4 (-ns) and id78k0 3. not supported in the id78k4-ns 4. supported only in the id78k4 the function of each area is explained below. (1) timer event name setting area this area sets a timer event name and selects a timer event condition note . when entering a timer event condition, it is necessary to set a timer event name. timer event names of up to 8 alphanumeric characters can be set. the timer event name ? run-break ? note , which displays the execution time from the start of execution to occurrence of a break, is registered from the beginning (this timer event name, however, is not displayed in the event manager). when displaying timer event conditions which have already been created, either type the timer event name of the already created timer event condition in the text box or select from the drop-down list in the timer event name setting area. clicking the mark in the timer event name setting area switches between enabling or disabling the timer event condition. the relationship between the color of the character in the mark and the status is shown below. note a timer event name cannot be set in the id78k4-ns. the timer event name setting area of the id78k4-ns is fixed to ? section ? .
chapter 6 window reference user ? s manual u15185ej1v0um 358 color of character in mark condition red indicates that the timer event condition has been enabled. a timer event occurs if the condition is satisfied. black indicates that the timer event condition has not been enabled. no timer event occurs even if the condition is satisfied. gray indicates that the timer event condition is currently being edited and that it has not been entered. yellow indicates that the timer event is an event which is in the hold state. an event in the hold state is in a state where the symbol specified by the event condition by program download, etc. cannot be referred to. (2) timer condition setting area (this is valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns, when the ie-78k0-ns-a or ie-78k0s-ns-a is used, or when the ie-78000-r or ie-784000-r is used.) this area sets an event condition for the timer. start event: sets event condition or event link condition to start time measurement. end event: sets event condition or event link condition to end time measurement. the number of event conditions and event link conditions that can be entered in the timer condition setting area is one condition for each of the start and end conditions. carry out setting of the timer condition by either of the following methods. ? click and open the event dialog box in the select mode, then select the event condition which is to be set. ? click and open the event link dialog box in the select mode, then select the event link condition to be set. ? select an event condition in the event manager area and click , or make the setting by drag- and-drop. if an event condition or an event link condition is already set in the timer condition setting area, it is replaced with the newly set event condition or event link condition. when setting the event condition or event link condition by drag-and-drop, besides the event manager area in the timer dialog box, it is possible to set it from the event manager area and event manager in each setting dialog box. when the focus is on the timer condition setting area, click the button, or press the del key to delete the event condition selected in [start event:] or [end event:]. it is possible to move the event condition or event link condition in [start event:] and [end event:] in the timer condition setting area by a drag-and-drop operation. selecting an event condition or event link condition selected in [start event:] or [end event:] in the timer condition setting area and clicking or double-clicking it opens the event dialog box and displays the contents of the event condition or event link condition. the timer condition setting area is left blank when there is a newly created timer event condition.
chapter 6 window reference user ? s manual u15185ej1v0um 359 (3) timer display unit select area this area selects the timer measurement results display unit. the unit can be selected from the following five types. nsec: measurement results are displayed in nanosecond units. usec: measurement results are displayed in microsecond units. msec: measurement results are displayed in millisecond units. sec: measurement results are displayed in second units. min: measurement results are displayed in minute units. nsec is selected for a newly created timer event condition. (4) execution time display area this area displays the execution time and execution count of the program. the execution time can be measured up to 14 minutes (in 0.08 s units from 0.16 s to 204 s of the resolution) in the id78k0 (-ns), up to 14 minutes and 18 seconds (0.2 s of the resolution) in the id78k4, and up to 14 minutes and 33 seconds (0.2 s of the resolution) in the id78k4-ns. the execution count can be measured up to 65,535 counts. if measurement is not conducted or if the measurement results are cleared, it is shown as a blank. if the measurement results overflow, the message ? timer measurement overflowed! ? is displayed note 1 . the following functions can be used by operating each button. ? by clicking note 2 , the measurement results can be cleared. ? ? run-break ? measurement results cannot be cleared. they are cleared automatically when execution starts. ? by clicking , the measurement results can be copied to the clipboard in text format. ? by clicking , the timer result dialog box, which displays the selected timer event conditions or the ? run-break ? measurement results, is displayed. notes 1. not displayed in the id78k4 (-ns) 2. not supported in the id78k4-ns
chapter 6 window reference user ? s manual u15185ej1v0um 360 (5) timer rate setting area (not supported in the id78k4 (-ns) and id78k0) this area sets the timer rate value to measure the execution time. the minimum rate value is 160 nsec (default) which can be increased in 80 nsec units. (6) time out time setting area (not supported in the id78k4 (-ns) and id78k0) when the timer out break is on, time out time can be set, but not when the timer out break is off. when the measurement time of a period (from timer start event generation to timer end event generation) exceeds the time out time, execution ends. up to 24 hours can be set. (7) event manager area (not supported in the id78k4-ns) this displays a list of each of the entered event and event link conditions, and break, trace, snapshot note 1 , dmm note 2 , timer note 1 , and stub note 3 events. an event condition or event link condition displayed in the event manager area can be set in the timer condition setting area by clicking . also, an event condition or event link condition in the event manager area can be dragged directly to the timer condition setting area. when the focus is on the event manager area, select the event icon and click or press the del key to delete the selected event. when the focus is on the event manager area, selecting an event icon and clicking or double- clicking an event icon opens the setting dialog box corresponding to the selected event and displays the contents of the event. by clicking , it is possible to select the event manager area display mode or sequencing. notes 1. not supported in the id78k4-ns 2. not supported in the id78k4 (-ns) 3. supported only in the id78k4
chapter 6 window reference user ? s manual u15185ej1v0um 361 (8) timer measurement select area (supported only in the id78k4) this area selects the timer measurement mode. the following two modes can be selected: max time this mode is to measure the maximum execution time. the longest processing time between the events set as timer event conditions is measured. min time this mode is to measure the minimum execution time. the shortest processing time between the events set as timer event conditions is measured. if ? run-break ? is selected in the timer event name setting area, the timer measurement select area is dimmed and cannot be selected. max time is selected for a newly created timer event condition. function buttons caution the id78k4-ns does not support any buttons other than ok , help , copy , and v iew always . closes the timer dialog box. if there is a timer event condition that is being edited, it is entered automatically and the dialog box is closed. a timer event condition becomes enabled as soon as it is entered. newly creates a timer event condition. a timer event name is generated automatically and a newly created timer event condition is prepared. after it is created, be sure to enter the timer event condition using the or the button. enters a timer event condition. when a new timer event condition has been created or when the contents of a timer event condition have been changed, be sure to enter the timer event condition using this button. if timer event conditions that have already been entered are displayed, it changes to either the button or button. a timer event condition becomes enabled as soon as it is entered. enables a timer event condition. this button is displayed in cases where a timer event condition is in the disabled state. it changes to either the button or the button.
chapter 6 window reference user ? s manual u15185ej1v0um 362 disables a timer event condition. this button is displayed in cases where a timer event condition is in the enabled state. it changes to either the button or the button. clears the contents of a timer event condition. if a timer event condition is entered but not edited, this button is displayed. it changes to the button. returns the contents of a timer event condition to the original contents. if a timer event condition that has not been entered is displayed, all the area is made blank except the timer event name, or the settings return to the default settings. if a timer event condition is being edited, this button is displayed. it changes to the button. closes the timer dialog box. if a timer event condition has not been created/changed/deleted, this button is displayed. even if a timer event condition is being edited, the dialog box closes without the timer event condition being entered. the esc key has the same operation. closes the timer dialog box. if a timer event condition has been created/changed/deleted, after that, the button becomes this button. even if there is a timer event condition that is being edited, the dialog box closes without the timer event condition being entered. the esc key has the same operation. opens the help window. opens the event dialog box in the select mode and adds to set the event condition either in [start event:] or in [end event:] in the timer condition setting area. the area where the event condition is added becomes the selected area when is clicked. opens the event link dialog box in the select mode and adds to set the event link condition either in [start event:] or in [end event:] in the timer condition setting area. the area where the event condition is added becomes the selected area when is clicked.
chapter 6 window reference user ? s manual u15185ej1v0um 363 displays the event contents selected in [start event:] or in [end event:] in the timer condition setting area or event manager area by opening the corresponding setting dialog box. operation is the same as double-clicking the event icon. if an event icon is not selected, or if multiple events are selected, selection cannot be made. deletes an event selected in [start event:] or in [end event:] in the timer condition setting area or event manager area. the del key has the same operation. expand displays the event manager area. expands the size of the dialog box. when the event manager area is not displayed, this button is displayed in place of the button. does not display the event manager area. shrinks the size of the dialog box. when the event manager area is displayed, this button is displayed in place of the expand button. adds the event condition or event link condition selected in the event manager area to the selected position in [start event:] or in [end event:] in the timer condition setting area. the area where the event condition is added becomes the selected area when is clicked. opens the event info dialog box. the button rearranges events in name order and displays them. the button rearranges the events in order by type and displays them. the button displays the events in the order in which they were entered without rearranging them. the button changes the event manager area to the detailed display mode.
chapter 6 window reference user ? s manual u15185ej1v0um 364 the button changes the event manager area to the list display mode. the button or the esc key closes the dialog box. opens the set other dialog box. clicking each button opens the event manager and the event, event link, break, trace, snap shot note 1 , dmm note 2 , or stub note 3 dialog box, and closes the set other dialog box. close the dialog box by clicking or and return to the timer dialog box. this button clears the measurement results. when measurement is not being performed, it is dimmed and cannot be clicked. it is also dimmed and cannot be clicked when a user program is being executed. copies measurement results to the clipboard in text format. displays the timer result dialog box, which displays the selected timer event condition or ? run-break ? measurement results. notes 1. not supported in the id78k4-ns 2. not supported in the id78k4 (-ns) 3. supported only in the id78k4
chapter 6 window reference user ? s manual u15185ej1v0um 365 timer result dialog box general displays the execution time measurement results. opening method this dialog box can be opened by the following methods. ? select a timer event condition or ? run-break ? in the timer dialog box note and execute one of the following operations. click the button. press the shortcut keys grph + v . note cannot be selected in the id78k4-ns. window figure 6-70. timer result dialog box (1/2) id78k0s-ns, ID78K0-NS, id78k4-ns id78k0 (1) execution time display area (2) timer display unit select area (1) (2) (1)
chapter 6 window reference user ? s manual u15185ej1v0um 366 figure 6-70. timer result dialog box (2/2) id78k4 function displays the execution time measurement results. this displays the execution time measurement results for the timer event condition or ? run-break ? set in the timer dialog box. the timer result dialog box corresponds 1 to 1 with a timer event condition or ? run-break ? and multiple dialog boxes can be opened simultaneously. the number that can be opened simultaneously is 256 for timer event conditions and 1 corresponding to ? run-break ? , for a total of 257. however, the number of measurements that can be taken simultaneously for both timer event conditions and ? run-break ? is 17 (4 in the id78k4) note . note not supported in the id78k4-ns the timer result dialog box consists of the following area. ? execution time display area ? timer display unit select area the function of this area is explained below. (1) execution time display area this area displays the measurement results of the execution time and execution count of the program. execution time and execution count display the cumulative execution time, pass count, and average execution time of the measurement period specified by the start event and end event conditions. also, the execution time is displayed in the unit set for the timer event condition. (1) execution time display area
chapter 6 window reference user ? s manual u15185ej1v0um 367 measurement result contents remark pass note 1 displays the pass count. not measured during "run-break". total displays the cumulative execution time. average note 1 displays the average execution time. not measured during "run-break". max note 2 displays the maximum execution time. not measured during "run-break". min note 2 displays the minimum execution time. not measured during "run-break". notes 1. not supported in the id78k0 2. supported only in the ID78K0-NS and id78k4 if measurement is not conducted or if the measurement results are cleared, it is shown as a blank. if the measurement results overflow, the message ? timer measurement overflowed! ? is displayed. (2) timer display unit select area this area selects the timer measurement results display unit. the unit can be selected from the following five types. nsec: measurement results are displayed in nanosecond units. usec: measurement results are displayed in microsecond units. msec: measurement results are displayed in millisecond units. sec: measurement results are displayed in second units. min: measurement results are displayed in minute units. ? nsec ? is selected for a newly created timer event condition. function buttons note clears the timer measurement results. when timer measurement is not being performed, it is dimmed and cannot be clicked. it is also dimmed and cannot be clicked when a user program is being executed. a ? run-break ? cannot be cleared. it is cleared automatically when program execution starts. copies timer measurement results to the clipboard in text format. closes the timer result dialog box. it becomes the default button. the esc key has the same operation. opens the help window. note not supported in the id78k4-ns
chapter 6 window reference user ? s manual u15185ej1v0um 368 dmm dialog box (not supported in the id78k4 (-ns)) general sets dynamic memory modification (dmm). this dialog box is only valid when the ie-78k0-ns-pa is installed in the ie-78k0-ns or the ie-78k0-ns-a/ie- 78k0s-ns-a is used. opening method this dialog box can be opened by the following methods. ? in the main window select [event] ? [d mm] from the menu bar. press the grph + n and d keys in that order. window figure 6-71. dmm dialog box (1) event name setting area (4) data setting area (2) dmm event name setting area (5) data size setting area (3) address setting area (6) event manager area (1) (2) (3) (4) (5) (6)
chapter 6 window reference user ? s manual u15185ej1v0um 369 function registers and displays dmm event conditions. dmm is used to write arbitrary data to a specified address when a specified event occurs during emulation. this dialog box consists of the following areas. ? event name setting area ? dmm event name setting area ? address setting area ? data setting area ? data size setting area ? event manager area the function of each area is explained below. (1) event name setting area this area sets an event name and selects an event condition. when entering an event condition, it is necessary to set an event name. an event name may consist of up to eight alphanumeric characters. when displaying event conditions which have already been created, either type the event name of the already created event name in the text box or select the event condition from the drop-down list in the event name setting area. in the select mode, the selected event condition can be set in the event condition setting area of the original setting dialog box that called the event dialog box. the mark m. on the left side of the event name setting area shows the use conditions of the event condition. if the character in the mark m. is red, it indicates that that dmm event condition is valid. if the character in the mark m. is black, it indicates that that dmm event condition is invalid. if the character in the mark m. is yellow, it indicates that that dmm event condition is in the hold state. an event in the hold state is in a state where the symbol specified by the event condition by program download, etc. cannot be referred to. (2) dmm event name setting area this area sets event conditions for dmm. up to 16 dmm event conditions can be set (8 execution events and 8 access events).
chapter 6 window reference user ? s manual u15185ej1v0um 370 (3) address setting area this area sets the address to which data is written after the event has occurred. (4) data setting area this area sets the data to be written after the event has occurred. (5) data size setting area this area sets the size of the data to be written after the event has occurred. the size can be selected from ? byte ? or ? word ? . example in the case of writing 0xff to 0xfboo: 0xff is written to 0xfboo when byte is specified, and 0xff is written to 0xfboo and 0x00 to 0xfbo1 when word is specified. (6) event manager area this area displays a list of each of the entered event and event link conditions, and break, trace, snapshot, dmm and timer events. an event condition or event link condition displayed in the event manager area can be set in the delay trigger condition setting area, trace start condition setting area, trace end setting condition area, qualify trace condition area, etc. by clicking add . also, an event condition or event link condition in the event manager area can be dragged directly to the each event condition setting area. when the focus is on the event manager area, select the event icon and click or press the del key to delete the selected event. when the focus is on the event manager area, selecting an event icon and clicking or double- clicking an event icon opens the setting dialog box corresponding to the selected event and displays the contents of the event. by clicking , it is possible to select the event manager area display mode or sequencing.
chapter 6 window reference user ? s manual u15185ej1v0um 371 function buttons closes the dmm dialog box. if there is a dmm event condition that is being edited, it is entered automatically and the dialog box is closed. this is the default button. newly creates a dmm event condition. a dmm event name is generated automatically and a newly created dmm event condition is prepared. after it is created, be sure to enter the dmm event condition using the or the button. enters a dmm event condition. when a new dmm event condition has been created or when the contents of a dmm event condition have been changed, be sure to enter the dmm event condition using this button. if dmm event conditions that have already been entered are displayed, it changes to either the button or button. a dmm event condition becomes enabled as soon as it is entered. enables a dmm event condition. this button is displayed in cases where a dmm event condition is in the disabled state. it changes to either the button or the button. disables a dmm event condition. this button is displayed in cases where a dmm event condition is in the enabled state. it changes to either the button or the button. clears the contents of a dmm event condition. if a dmm event condition is entered but not edited, this button is displayed. it changes to the button. returns the contents of a dmm event condition to the original contents. if a dmm event condition that has not been entered is displayed, all the area is made blank except the dmm event name. if a dmm event condition is being edited, this button is displayed. it changes to the button. closes the dmm dialog box. if a dmm event condition has not been created/changed/deleted, this button is displayed. even if a dmm event condition is being edited, the dialog box closes without the dmm event condition being entered. the esc key has the same operation.
chapter 6 window reference user ? s manual u15185ej1v0um 372 closes the dmm dialog box. if a dmm event condition has been created/changed/deleted, after that, the button becomes this button. even if there is a dmm event condition that is being edited, the dialog box closes without the dmm event condition being entered. the esc key has the same operation. opens the help window. opens the dmm dialog box in the select mode and adds the event c ondition specified in the dmm condition setting area. the area to which the event condition is added is the area selected when the button is clicked. opens the dmm dialog box in the select mode and adds the event link condition specified in the dmm condition setting area. the area to which the event link condition is added is the area selected when the button is clicked. displays the event contents selected in the dmm condition setting area or event manager area by opening the corresponding setting dialog box. the button is only valid when the focus is on the dmm event setting area or event manager area and when one event has been selected. in all other cases, the button is dimmed and items cannot be selected. opens the dmm dialog box in the select mode and deletes an event selected in the dmm condition setting area or event manager area. the button is only valid when the focus is on the dmm event setting area or event manager area and when an event has been selected. in all other cases, the button is dimmed and items cannot be selected. the del key has the same operation. expand displays the event manager area. expands the size of the dialog box. when the event manager area is not displayed, this button is displayed in place of the button. does not display the event manager area. shrinks the size of the dialog box. when the event manager area is displayed, this button is displayed in place of the expand button.
chapter 6 window reference user ? s manual u15185ej1v0um 373 opens the event info dialog box. the button rearranges events in name order and displays them. the button rearranges the events in order by type and displays them. the button displays the events in the order in which they were entered without rearranging them. the button changes the event manager area to the detailed display mode. the button changes the event manager area to the list display mode. the button or the esc key closes the dialog box. opens the set other dialog box. clicking each button opens the event manager and the event, event link, break, trace, dmm, timer, or stub note dialog box, and closes the set other dialog box. close the dialog box by clicking the or dmm ? button and return to the snap shot dialog box. note supported only in the id78k4
chapter 6 window reference user ? s manual u15185ej1v0um 374 pass count dialog box (not supported in the id78k4 (-ns)) general sets the pass count. opening method this dialog box can be opened by the following methods. ? in the main window select [event] ? [p ass count ? ] from the menu bar press the shortcut keys grph + n and p . window figure 6-72. pass count dialog box function sets and displays the pass count. the pass count setting is used to stop execution of the program and tracer after a specified number of events have occurred. the pass count dialog box consists of the following area. ? pass count setting area the function of this area is explained below. (1) pass count setting area this area sets and displays the pass count. the settable range is from 1 (default) to 255.
chapter 6 window reference user ? s manual u15185ej1v0um 375 function buttons closes the pass count dialog box after setting the edited pass count. this is the default button. returns the pass count to the previous value. closes the pass count dialog box without setting any changes made to the pass count value. the esc key has the same operation. opens the help window.
chapter 6 window reference user ? s manual u15185ej1v0um 376 delay count dialog box general sets the delay count. opening method this dialog box can be opened by the following methods. ? in the main window select [event] ? [d elay count...] from the menu bar press the shortcut keys grph + n and d . window figure 6-73. delay count dialog box id78k0s-ns, ID78K0-NS id78k0, id78k4 (-ns)
chapter 6 window reference user ? s manual u15185ej1v0um 377 function sets and displays the delay count. the delay count setting is used to stop execution of the program and tracer after a stop condition event is satisfied and a trace is performed for a specified count value. the delay count dialog box consists of the following area. ? delay count setting area the function of this area is explained below. (1) delay count setting area this area sets and displays the delay count. [ID78K0-NS, id78k0s-ns] the delay count can be selected from the following three settings. first: the trigger pointer is placed at the start of the trace data, and tracing stops after about 8000 frames have been traced. middle: the trigger pointer is placed in the middle of the trace data, and tracing stops after about 4,000 frames have been traced. last: the trigger pointer is placed at the end of the trace data, and tracing stops immediately. [id78k0, id78k4 (-ns)] the delay count setting range is from 0 (default value) to 32,767 in the id78k4 (-ns). function buttons closes the delay count dialog box after setting the edited delay count. this is the default button. returns the delay count to the previous value. closes the delay count dialog box without setting any changes made to the delay count value. the esc key has the same operation. opens the help window.
chapter 6 window reference user ? s manual u15185ej1v0um 378 reset debugger dialog box general initializes the debugger, emulation cpu, and symbol information. opening method this dialog box can be opened by the following methods. ? in the main window select [file] [debugger r eset ] from the menu bar. press the grph + f , and r keys in that order. window figure 6-74. reset debugger dialog box function specifies, by using a check box, whether the debugger, emulation cpu, or symbol information is initialized. as the default, only the debugger is initialized. the reset debugger dialog box consists of the following area. ? reset subject select area the function of this area is explained below. (1) reset subject select area this area selects the subject to be reset from the following.
chapter 6 window reference user ? s manual u15185ej1v0um 379 selected item description debugger initializes and restarts the debugger (default). symbol resets symbol information. target cpu resets emulation cpu. function buttons initializes the selected subject. ignores the setting and closes this dialog box. opens the help window.
chapter 6 window reference user ? s manual u15185ej1v0um 380 about dialog box general displays the version information of the debugger. opening method this dialog box can be opened by the following methods. ? in the main window select [help] [a bout ] from the menu bar. press the grph + h , and a keys in that order. window figure 6-75. about dialog box function displays the version of the debugger and that of the device files, gui, debugger dlls, assembler dlls, executor, and packet dlls. function button closes this dialog box.
chapter 6 window reference user ? s manual u15185ej1v0um 381 exit debugger dialog box general terminates the debugger. when terminating the debugger, the debugging environments can be saved in a project file. opening method this dialog box can be opened by the following methods. ? in the main window select [file] [ex it] from the menu bar. press the grph + f , and x keys in that order. also, the exit debugger dialog box opens when a compulsory close is executed, such as when windows is closed or when an application is closed in the task list. window figure 6-76. exit debugger dialog box function specifies, by using a check box, whether the current debugging environments are saved in a project file or not when the debugger is terminated. as the default, the debugging environments are not saved in a project file. if the project file has been saved or loaded during a debugging operation, the default is to save the debugging environments. when the button is clicked, the project file save dialog box is opened, the current debugging environments are saved in the project file, and all the windows are closed. the debugger is then terminated. if the project file has been saved or loaded during a debugging operation, however, the project file save dialog box is not opened, and the debugging environments are saved in the project file. if the button is clicked, all the windows are closed, and the debugger is terminated. note that the exit debugger dialog box can be set not to open in the debugger option dialog box.
chapter 6 window reference user ? s manual u15185ej1v0um 382 when terminating the debugger during user program execution is attempted, the message ? user program is running, do you want to stop use program? ? is displayed. if the button is selected, a termination confirmation dialog box is displayed after the execution of the user program has been stopped. however, if a setting not to display the termination confirmation dialog box has been made in the debugger option dialog box, the debugger is directly terminated. if the button is selected, execution of the user program is not stopped, the termination confirmation dialog box is not displayed, and the debugger is not terminated. function buttons after saving the current debugging environment to a project file, closes all the windows and terminates the debugger. if the project file name has not been set, the project file save dialog box appears. if the button in the project file save dialog box is selected, the project file is not saved and the debugger is not terminated. if the project file is loaded or saved during debugger operation, this button is the default. closes all the windows and terminates the debugger. if no project file is loaded or saved during debugger operation, this button is the default. closes the dialog box without doing anything.
chapter 6 window reference user ? s manual u15185ej1v0um 383 error/warning dialog box general opens if an error or a warning occurs, to inform the user to check the message. window figure 6-77. error/warning dialog box function displays the contents of the error or warning in the message display area. refer to appendix c error message list if an error occurs. function button closes this dialog box.
chapter 6 window reference user?s manual u15185ej1v0um 384 console window general this window is used to input debugger control commands. since the key bind is emacs-like, accelerator keys are not acknowledged when the console window is active. however, the f1 key displays the help file for the console window. for the command specifications, refer to the help file displayed by clicking the f1 key. opening method this dialog box can be opened using any one of the following methods. ? in main window on the menu bar, select [browse] ? [con sole]. press the grph + b , n keys, in this sequence. window figure 6-78. console window function since the key bind is emacs-like, accelerator keys are not acknowledged when the console window is active. however, the f1 key displays the help file for the console window. for the command specifications, refer to the help file displayed by clicking the f1 key.
chapter 6 window reference user?s manual u15185ej1v0um 385 the command specifications are listed in the following table. table 6-7. command specifications command name outline page address evaluate address expression p.386 assemble disassemble/line assemble p.387 breakpoint set/delete breakpoint p.388 batch batch execution (with echo) p.390 download download p.391 errmesg display error message p.392 extwin create extension window p.393 finish return from function p.394 go continue execution p.395 help display help p.396 hook set hook p.397 ie ie control p.398 jump jump to window p.399 map set/delete memory mapping p.400 mdi set extension window p.401 memory display/set memory p.402 module display file list, function list p.403 next procedure steps p.404 refresh redraw window p.405 register display/set register value and i/o register value p.406 reset reset p.407 run reset & execute cpu p.408 step step execution p.409 stop stop execution p.410 upload upload p.411 version display version p.412 watch display/set variable value p.413 where trace stack p.414 wish start tclet p.415 xcoverage coverage manipulation p.416 xtime timer manipulation p.417 xtrace tracer manipulation p.418
chapter 6 window reference user?s manual u15185ej1v0um 386 address evaluate address expression syntax address expression explanation converts the address expression specified with expression to an address. description example (idcon) 1 % address main 0xaa (idcon) 2 % address main+1 0xab
chapter 6 window reference user?s manual u15185ej1v0um 387 assemble disassemble/line assemble syntax assemble ?options? address ?code? explanation assembles the character string specified with code from the address specified with address . if ?.? has been specified for address , interprets this as the address following the one handled in the immediately preceding assemble operation. if code is omitted, disassembles from the address specified with address . the following options are available. they are ignored in the case of assemble. -code displays instruction code. ignored in case of assemble. -number number displays number lines. ignored in case of assemble. description example (idcon) 1 % assemble -n 5 main 0x000000aa b7 push hl 0x000000ab b1 push ax 0x000000ac 891c movw ax,sp 0x000000ae d6 movw hl,ax 0x000000af a100 mov a,#0h (idcon) 2 % assemble main mov a,b (idcon) 3 % assemble . mov a,b
chapter 6 window reference user?s manual u15185ej1v0um 388 breakpoint set/delete breakpoint syntax breakpoint ?options? ?address1? ?address2? breakpoint -delete brkno breakpoint -enable brkno breakpoint -disable brkno breakpoint -information explanation manipulates the breakpoint set with options and address . a breakpoint number is returned when a breakpoint is correctly set. the following options are available. -software specifies software break. -hardware specifies hardware break (default). -execute sets address execution break (default). -beforeexecute sets break before address execution -read sets address data read break. -write sets address data write break. -access sets address data access break. -size size sets access size (8, 16, or 32) -data value sets data condition. -datamask value sets data mask. -extprobe value sets external sense data condition. -extprobemask value sets external sense data mask. -pass value sets pass count. -information displays breakpoint list. -delete deletes breakpoint of specified number. -disable disables breakpoint of specified number. -enable enables breakpoint of specified number.
chapter 6 window reference user?s manual u15185ej1v0um 389 description example (idcon) 19 % breakpoint main 1 (idcon) 20 % breakpoint -i 1 brk00001 enable rammon.c#17 (idcon) 21 % breakpoint -software sub1 2 (idcon) 22 % breakpoint -i 1 brk00001 enable rammon.c#17 2 brk00001 enable rammon.c#8 (idcon) 23 % breakpoint -disable 2 (idcon) 24 % breakpoint -i 1 brk00001 enable rammon.c#17 2 brk00001 disable rammon.c#8 (idcon) 25 % breakpoint -delete 1 2 brk00001 disable rammon.c#8
chapter 6 window reference user?s manual u15185ej1v0um 390 batch batch execution (with echo) syntax batch scriptname explanation executes at one time all the files selected with scriptname while displaying them on the screen. nesting is supported. description example (idcon) 1 % clear (idcon) 2 % batch bat_file.tcl (idcon) 3 % tkcon save a:/log.txt
chapter 6 window reference user?s manual u15185ej1v0um 391 download download syntax download ?options? filename ?offset? explanation downloads the file specified with filename according to the selected options . if offset is specified, offsets addresses by the offset value. -binary downloads binary format data. -coverage downloads coverage data. -append performs additional download. -nosymbol performs download without reading symbol information. -reset resets cpu following download. -information displays downloaded information. description example (idcon) 1 % download test.lmf
chapter 6 window reference user?s manual u15185ej1v0um 392 errmesg display error message syntax errmesg errno explanation displays the error message corresponding to errno . description example (idcon) 1 % errmesg 2 0002(f): this function is not supported.
chapter 6 window reference user?s manual u15185ej1v0um 393 extwin create extension window syntax extwin scriptfile explanation creates extension window with scriptfile . description example (idcon) 1 % extwin d:/foo.tcl
chapter 6 window reference user?s manual u15185ej1v0um 394 finish return from function syntax finish explanation performs execution until return to the program that called the current function. description example (idcon) 1 % finish
chapter 6 window reference user?s manual u15185ej1v0um 395 go continue execution syntax go ?options? explanation continues the program execution. if -waitbreak is specified, waits until the program stops. the following option is available. -waitbreak -waitbreak: waits until program stops. description example (idcon) 1 % go -w
chapter 6 window reference user?s manual u15185ej1v0um 396 help display help syntax help explanation displays the dcl help file. description example (idcon) 1 % help
chapter 6 window reference user?s manual u15185ej1v0um 397 hook set hook syntax hook scriptfile explanation sets the hook procedure with scriptfile . description example (idcon) 1 % hook d:/foo.tcl
chapter 6 window reference user?s manual u15185ej1v0um 398 ie ie control syntax ie reg address ?value? ie dcu address ?value? explanation the ie command is ie-dependent. description example (idcon) 1 % ie reg 0x100 1 (idcon) 2 % ie dcu 0x100 1
chapter 6 window reference user?s manual u15185ej1v0um 399 jump jump to window syntax jump -source -line filename ?line? jump ?options? address explanation displays the window specified with the options . -source displays source window from address specified with address . -assemble displays assemble window from address specified with address . -memory displays memory window from address specified with address . -coverage displays coverage window from address specified with address . -line moves to the line specified with line . description example (idcon) 1 % jump -s main (idcon) 2 % jump -s -l mainfile.c 10 (idcon) 3 % jump -m array
chapter 6 window reference user?s manual u15185ej1v0um 400 map set/delete memory mapping syntax map options address1 address2 ?accsize? explanation displays the window specified with the options . -source displays source window from address specified with address . -assemble displays assemble window from address specified with address . -memory displays memory window from address specified with address . -coverage displays coverage window from address specified with address . -line moves to the line specified with line . description example (idcon) 1 % map -i 1: 0 0x7fff 8 {irom} 2: 0x8000 0x87ff 8 {target rrm} 3: 0x8800 0x9fff 8 {target} 4: 0xa000 0xf7ff 8 {nonmap} 5: 0xf800 0xfaff - {nonmap} 6: 0xfb00 0xfedf 8 {saddr} 7: 0xfee0 0xfeff 8 {register} 8: 0xff00 0xffff 8 {sfr} (idcon) 2 % map -erom 0x100000 0x10ffff (idcon) 3 % map -c
chapter 6 window reference user?s manual u15185ej1v0um 401 mdi set extension window syntax mdi geometry ?x y? width height mdi title string explanation specifies the size and title of the extension window. this command can be used only from the extension window. description example (idcon) 1 % mdi geometry 0 0 100 100 (idcon) 2 % mdi title foo
chapter 6 window reference user?s manual u15185ej1v0um 402 memory display/set memory syntax memory ?options? address ?value? memory ?options? -fill address1 address2 value memory ?options? -copy address1 address2 address3 explanation sets the value according to the options in the memory of the address specified with address . when value is omitted, displays the value of the memory of the address specified with address . when - fill is specified, fills the interval between address 1 and address 2 with value. when - copy is specified, copies the interval between address 1 and address 2 to address 3. the following options are available. -byte displays/sets in 1-byte units (default). -word displays/sets in 1-word units. -fill fill data. -copy copies data. description example (idcon) 1 % memory 100 0x10 (idcon) 2 % memory 100 2 (idcon) 3 % memory 100 0x02 (idcon) 4 % memory -fill 0 1ff 0
chapter 6 window reference user?s manual u15185ej1v0um 403 module display file list, function list syntax module progname ?filename? explanation displays the file list, function list of the load module file specified with progname . if no filename is specified, displays the file list. if filename is specified, displays the function list of the specified file. description example (idcon) 1 % module rammon.lmf 1: rammon.c (idcon) 2 % module rammon.lmf rammon.c 1: rammon.c sub1 2: rammon.c main
chapter 6 window reference user?s manual u15185ej1v0um 404 next procedure steps syntax next ?options? explanation executes the procedure steps. if function call is performed, stops after that function is executed. the following options are available. -source executes in source line units (default). -instruction executes in instruction units. description example (idcon) 1 % next -i (idcon) 2 % next -s
chapter 6 window reference user?s manual u15185ej1v0um 405 refresh redraw window syntax refresh explanation redraws the window and updates it with the latest data. description example (idcon) 1 % batch foo.tcl (idcon) 2 % refresh
chapter 6 window reference user?s manual u15185ej1v0um 406 register display/set register value and i/o register value syntax register ?options? regname ?value? explanation sets value to the register specified with regname . if value is omitted, displays value of register specified with regname . the following options are available. -force performs forced read. -bankno bankno specifies bank no. description example (idcon) 1 % register pc 0x100 (idcon) 2 % register pc 200 (idcon) 3 % register pc 0x200
chapter 6 window reference user?s manual u15185ej1v0um 407 reset reset syntax reset ?options? explanation resets the cpu, debugger, or symbol. if options are omitted, resets the cpu. the following options are available. -cpu resets the cpu (default). -debugger resets the debugger. -symbol resets the symbol. description example (idcon) 1 % reset
chapter 6 window reference user?s manual u15185ej1v0um 408 run reset & execute cpu syntax run ?options? explanation executes the program following reset. if -waitbreak is not specified, does not wait for the program to stop. the following option is available. -waitbreak waits until the program stops. description example (idcon) 1 % run (idcon) 2 % run -w
chapter 6 window reference user?s manual u15185ej1v0um 409 step step execution syntax step ?options? explanation performs step execution. if function call is performed, stops at the start of that function. the following options are available. -source executes in source line units (default). -instruction executes in instruction units. description example (idcon) 1 % step -i (idcon) 2 % step -s
chapter 6 window reference user?s manual u15185ej1v0um 410 stop stop execution syntax stop explanation forcibly stops the program. description example (idcon) 1 % run (idcon) 2 % stop
chapter 6 window reference user?s manual u15185ej1v0um 411 upload upload syntax upload ?options? filename address1 address2 explanation saves the memory data or coverage data in the specified address range to a file. the following options are available. -binary saves in the binary format. -coverage saves coverage data. -intel saves in the intel hex format (default). -motorola saves in the motorola hex format. -tektronix saves in the tektronix hex format. -force overwrites the file. description example (idcon) 1 % upload -b foo.hex 0 0xffff (idcon) 2 % upload -c -f foo.cov 0 0xffff
chapter 6 window reference user?s manual u15185ej1v0um 412 version display version syntax version explanation displays the debugger version. description example (idcon) 1 % version gui : e2.00y [31-may-99] devicefile : 78k0[upd780034] e1.01a debugger : 78k/0 debugger e2.50c [02- apr-99] executer : 78k/0 executer e1.3c packet translator : 78k/0 packet e2.00w assembler : 78k/0 asm/disasm e1.15a [01-apr-99] tcl/tk : 8.1.1
chapter 6 window reference user?s manual u15185ej1v0um 413 watch display/set variable value syntax watch ?options? variable ?value? explanation displays and sets the value of the variable. the following options are available. -binary displays the value in binary. -octal displays the value in octal. -decimal displays the value in decimal. -hexdecimal displays the value in hexadecimal. -string displays the value as a character string. -sizeof displays the size of the variable instead of its value in hexadecimal. description example (idcon) 1 % watch var 0x10 (idcon) 2 % watch -d var 16 (idcon) 3 % watch array\[0\] 0xa
chapter 6 window reference user?s manual u15185ej1v0um 414 where trace stack syntax where explanation back traces stacks. description example (idcon) 1 % where 1: test2.c#sub2(int i)#13 2: test.c#num(int i)#71 3: test.c#main()#82
chapter 6 window reference user?s manual u15185ej1v0um 415 wish start tclet syntax wish scriptname explanation starts script (tclet) using tk. extension windows can be created with tclet. description example (idcon) 1 % wish test.tcl
chapter 6 window reference user?s manual u15185ej1v0um 416 xcoverage coverage manipulation syntax xcoverage option explanation manipulates coverage. the following options are available. -start starts coverage during program execution. -stop stops coverage during program execution. -clear clears the coverage memory. description example (idcon) 1 % xcoverage -start (idcon) 2 % xcoverage -stop (idcon) 3 % xcoverage -clear
chapter 6 window reference user?s manual u15185ej1v0um 417 xtime timer manipulation syntax xtime option explanation manipulates the timer. the following options are available. -start starts the timer during program execution. -stop stops the timer during program execution. -gobreak displays the time between go-breaks as a number of clocks. description example (idcon) 1 % xtime -start (idcon) 2 % xtime -stop
chapter 6 window reference user?s manual u15185ej1v0um 418 xtrace tracer manipulation syntax xtrace -dump ?-append? frameno ?filename? xtrace -start xtrace -stop xtrace -clear xtrace -addup bool xtrace -mode mode explanation manipulates the tracer. the following options are available. -start starts the tracer during program execution. -stop stops the tracer during program execution. -clear clears the trace memory. -dump dumps the trace data (default) when a file name is specified, writes the trace data to that file. -append appends the dump result to the file. -addup bool selects whether to add up time tags. -mode mode selects the trace control mode (all, cond, nonstop, fullstop, fullbreak, delaystop, delaybreak, machine, or event). description example (idcon) 1 % xtrace -start (idcon) 2 % xtrace -stop (idcon) 3 % xtrace -dump 3 _ 01685 2 000000bc m1 br _sub2+0x2 _ 01686 4 0000009a brm1 st.w r6, 0x8[sp] _ 01687 3 0000009e brm1 st.w r0, 0x0[sp] (idcon) 4 % xtrace -clear (idcon) 5 % xtrace -addup true
user?s manual u15185ej1v0um 419 appendix a debugging with id78k series this appendix explains the basic debugging operation using the id78k series. for the details of each window and dialog box mentioned in this section, refer to chapter 6 window reference . (1) setting debug environment set the operating environment of debugger. if a previous debug environment has been saved to a project file, the debug environment can be restored by loading that file. the procedure differs as follows depending on whether a project file is used or not. (a) when project file is not used <1> set all the items in the configuration dialog box. <2> set the extended options in the extended option dialog box. <3> set the debug options in the debugger option dialog box. (caution always specify the startup symbol.) (b) when project file is used ? ? ? ? when project file is used at startup <1> click project? in the configuration dialog box. the project file load dialog box will open. <2> specify the project file name and click ok . the project file will be loaded. the following procedure can also be used. <1> select [run] from the start menu in windows. <2> use the browse button to specify the file to be executed, idk032a.exe (for the ID78K0-NS). <3> after idk032a.exe (for the ID78K0-NS), specify the name of the project file to be used (eg. a:\nectools32\bin\idk032a.exe ? b:\test\test1.prj ( ? = space)). <4> click ok . ? ? ? ? when project file is used during debugging <1> select [file] [proj ect] [o pen] in the main window, or click the button. the project file load dialog box will open. <2> specify the project file name and click ok . the project file will be loaded. (2) download load module file (a) download the load module file to be debugged. download dialog box (b) confirming loaded files load module list dialog box
appendix a debugging with id78k series user?s manual u15185ej1v0um 420 (3) display disassemble result display the result of disassembling the downloaded user program. assemble window the method of displaying the disassemble display label column and mnemonic column can be changed. debugger option dialog box (4) display source program display the source program. a program whose source can be debugged must have debug information compiled with the -g option specified. source window (a) setting source path information, display font, and source file extension debugger option dialog box (b) selecting source file browse dialog box (c) source file and disassemble select [view] [m ix] when the source text file is the current window. (5) setting of event (a) registering event conditions and event link conditions event dialog box event link dialog box (b) setting of event conditions set event conditions by using the event icons in the event manager or in the event manager area of various event setting dialog boxes (however, breakpoints can be set in the source window/assemble window). ? trace event condition trace dialog box ? break event condition break dialog box ? timer event condition timer dialog box ? snap event condition snap shot dialog box ? dmm event condition dmm dialog box (c) checking setting of event conditions event manager, the event manager area in each event setting dialog box
appendix a debugging with id78k series user?s manual u15185ej1v0um 421 (6) executing user program by executing the user program, the value of the pc advances to the set breakpoint, break event or forced break. ? types of execution execution control buttons on the toolbar in the main window, or [run] menu (7) checking trace data trace view window (8) editing, checking, and changing contents of memory memory window memory copy dialog box memory fill dialog box memory compare dialog box memory compare result dialog box (9) registering, checking, and changing variable values quick watch dialog box add watch dialog box watch window local variable window (10) checking contents of stack stack window (11) checking and changing registered contents of register value register window sfr window the pc register value can also be checked in the source and assemble windows. (12) checking and changing contents of sfr sfr window sfr select dialog box (13) registering, checking, and changing user-defined i/o port value add i/o port dialog box sfr window (14) changing mnemonics and executing on-line assemble assemble window source window (15) checking execution time of user program timer dialog box timer result dialog box trace view window
appendix a debugging with id78k series user?s manual u15185ej1v0um 422 (16) checking coverage measurement result coverage window coverage-clear dialog box coverage-condition setting dialog box coverage-efficiency view dialog box (17) searching character string in each window source search dialog box assemble search dialog box memory search dialog box trace search dialog box coverage search dialog box (18) referencing ?display file? saved in previous debugging process view file load dialog box (19) saving screen contents to ?display file? during debugging view file save dialog box (20) uploading memory contents and coverage results upload dialog box (21) saving debug environment to project file project file save dialog box (22) terminating id78k series exit debugger dialog box
user?s manual u15185ej1v0um 423 appendix b terminology words and window types (refer to chapter 6 window reference ) used in this document are described below. b.1 terminology the following words are described in this document. ? debugging mode ? current window ? delimiter symbol (separator) ? program ? current program ? file ? current file ? function ? current function ? structure ? stack frame number ? line ? register name ? numeric value ? address ? symbol ? expression and operator ? character set each word and the input conventions are explained below.
appendix b terminology user?s manual u15185ej1v0um 424 (1) debugging mode execution of the user program can be controlled in the following three debugging modes.  source mode step execution is performed in units of one line of a source text.  instruction mode step execution is performed in instruction units.  automatic mode this mode automatically switches between source mode and instruction mode. in this mode, when the source window is active, step execution is performed in units of 1 line of source text (instruction units for mixed display), and when the assemble window is active, step execution is performed in instruction units. when neither window is active, this mode becomes instruction mode. these three debugging modes are selected from the ?option menu? of the main window. when starting the debugger, the automatic mode is selected as the default. (2) current window the current window is the window in which an operation is currently being performed. in this window, information can be input from the keyboard and menus can be selected. (3) delimiter symbol (separator) a file, function, variable, or line can be specified by using the delimiter symbols listed in table b-1. table b-1. delimiter symbols symbol specification # used as a separator between file names and variable/function names and line numbers. $ used as a separator between load module names and file, variable, and function names. (4) program a program is the executable unit that is subject to debugging. the id78k series deals with each load module file specified when downloading as one program. the name of a program is specified by using the name of the load module file that is downloaded. (5) current program the current program is the program that contains the instruction for a break currently taking place (i.e., the instruction indicated by the program counter (pc)). when specifying a file in the current program, specifying the program name may be omitted. (6) file the allowable number of characters in a file name is up to 127 characters in a full path. depending on the file type, it may be possible to specify a file name with more than 127 characters.
appendix b terminology user?s manual u15185ej1v0um 425 (7) current file the current file is the source file that has the instruction for a break currently taking place (i.e., the instruction indicated by the program counter (pc)). when specifying a line or function in the current file by using a command, the file name can be omitted. (8) function functions constitute a c source program. (9) current function the current function is the function that has the instruction for a break currently taking place (i.e., the instruction indicated by the program counter (pc)). when accessing a local variable in the current function, specifying the function name can be omitted. (10) structure structures and unions of the c language are generically referred to as ?structures?. when a structure or union variable is used without explicitly specifying a member, the term ?structure? is used. (11) stack frame number a stack frame number is a decimal number starting from 1. the stack contents are displayed numbered. the shallower the nesting of the stack, the higher the number. therefore, a function having a stack number 1 less than the stack number of another function calls that function. (12) line a line is specified to identify a certain line in the source file. line numbers are specified by an integer constant that starts from 1. (13) register name a register name is specified by the absolute name of a system register or general-purpose register of the 78k/0, 78k/0s, and 78k/iv series microcontrollers listed in table b-2, or by the alias of a register.
appendix b terminology user?s manual u15185ej1v0um 426 table b-2. register set of 78k series register name register type absolute name alias pc psw system registers sp r0 zero r1 r2 r3 sp r4 gp r5 t p r6 r7 r8 note r9 note r10 note r11 note r12 note r13 note r14 note general-purpose registers r15 note note r8 to r15 are supported only for the 78k/iv series. (14)numeric value the following four types of numeric values can be used. ? binary input format: ny n?ny (n = 0, 1) ? octal input format: no n?no (n = 0 to 7) nq n?nq (n = 0 to 7) ? decimal input format: n n?n nt n?nt (n = 0 to 9)
appendix b terminology user?s manual u15185ej1v0um 427 ? hexadecimal input format: n n?n nh n?nh 0xn 0xn?n (n = 0 to f) cautions 1. suffixes (y, o, q, t, h, 0x) and the alphabetical characters in hexadecimal numbers are not case sensitive. 2. if the first character is one of a to f, a 0 must be affixed in front. 3. the radix in the input column switches between decimal and hexadecimal in accordance with the default radix. (15) address ? an address is specified by directly specifying a numeric value. ? an address can also be specified by using a symbol or expression. ? when specifying an address by using a numeric value, hexadecimal, decimal, octal, or binary numbers can be used. (16) symbol ? a symbol consists of characters a to z, a to z, @, _ (underline), and 0 to 9. ? a symbol must begin with a character other than numerals 0 through 9. ? this software distinguishes between uppercase (a to z) and lowercase (a to z) characters. ? a symbol name can consist of up to 256 characters. ? if a symbol exceeding 256 characters is specified, the first 256 characters are valid. ? a symbol is defined by loading a load module file. ? symbols can be classified into the following types by the valid range. (a) global symbols (assembly language, c language) (b) static symbols (c language) static symbols in files static symbols in functions (c) local symbols (c language) local symbols in files local symbols in functions local symbols in blocks ? the following symbols exist in each of the languages used. (a) assembly language label names
appendix b terminology user?s manual u15185ej1v0um 428 (b) c language variable names (including pointer function names, enumerate type variable names, array names, structure name, and union names) function names, label names array elements, structure elements, union elements (if the symbol is an array, structure, or union) ? a symbol can be described instead of an address and numeric value. ? the valid range of symbols is determined based on the source debugging information when the source file is assembled or compiled. ? a global symbol only describes a symbol name. ? a local symbol is expressed as a pair with a file name. (17) expression and operator ? an expression consists of constants, register names, sfr names, and symbols combined by operators. ? if an sfr name, label name, function name, or variable name is described as a symbol, an address is calculated as the value of the symbol. ? elements constituting an expression, other than operators, are called terms (constants and labels). terms are called the first term, second term, and so on, in the sequence they are described, starting from the one on the left. ? the following operators of c language can be used. arithmetic operators symbol meaning remark + addition returns sum of values of first and second terms ? subtraction returns difference in value between first and second terms * multiplication returns product of values of first and second terms / division divides value of first term by value of second term, and returns integer of result mod, % remainder divides value of first term by value of second term, and returns remainder of result ? sign unary operation (negative) returns two?s complement of value of term + sign unary operation (positive) returns two?s complement of value of term logical operators symbol meaning remark not ~ negation nots each bit of term, and returns result. and & logical product ands each bit of values of first and second terms, and returns result or | logical sum ors each bit of values of first and second terms, and returns result xor ^ exclusive logical sum exclusive-ors each bit of values of first and second terms, and returns result
appendix b terminology user?s manual u15185ej1v0um 429 shift operators symbol meaning remark shr >> right shift right shifts the first term the amount of the value (bit number) expressed by the second term and returns the result. the number of higher bits shifted are replaced with 0. shl << left shift left shifts the first term the amount of the value (bit number) expressed by the second term and returns the result. the number of lower bits shifted are replaced with 0. byte resolution operators symbol meaning remark high higher byte the higher 8 bits of the term?s lower 16 bits are returned. low lower byte the lower 8 bits of the term?s lower 16 bits are returned. word resolution operators symbol meaning remark highw higher word the higher 16 bits of the term?s 32 bits are returned. loww lower word the lower 16 bits of the term?s 32 bits are returned. others symbol meaning remark ( left parenthesis ) right parenthesis executes operation in ( ) before operations outside ( ) cautions 1. parentheses ?(? and ?)? must always be used in pairs. 2. operations are performed in compliance with the following rules.  the operation sequence is in accordance with the priority of the operator.  when the priority of operators is the same, the operation sequence is from left to right.  the operation within parentheses is executed before the operations outside the parentheses.  each term of an operation is treated as unsigned 32-bit data.  all the operation results are treated as unsigned 32-bit data.  if an overflow occurs during operation, the lower 32 bits are treated as valid, and the overflow is not detected. 3. the priority of the operator is as follows. priority operator 1 (, ) 2 higher + sign, ? sign, not, ~ , high, low, highw, loww 3 *, /, mod, %, shr, >>, shl, << 4+, ? 5 lower and, & 6 or, i, xor, ^
appendix b terminology user?s manual u15185ej1v0um 430 ? the following numeric values can be described when a constant is described as a term. (a) binary 0y numeric value 11111111111111111111111111111111y (32 digits) (b) octal 0o numeric value 37777777777o (c) decimal ? 2147483648 numeric value 4294967295 a negative decimal number is internally converted into two?s complement. (d) hexadecimal 0h numeric value 0ffffffffh (18)character set with the id78k series, the following character set can be used. character set symbol description uppercase characters a b c d e f g h i j k l m n o p q r s t u v w x y z alphabet character lowercase characters a b c d e f g h i j k l m n o p q r s t u v w x y z numerals 0 1 2 3 4 5 6 7 8 9 alphabet equivalent characters @ _ special characters . , : ; * / % + ? ? ? < > ( ) ! [ ] & \ ^ | ~ # = $ ? ? { }
appendix b terminology user?s manual u15185ej1v0um 431 other character set character name main usage . period direct member operator, bit position specifier , comma delimiter of operands * asterisk multiplication operator or indirect reference operator / slash division operator % percent remainder operator + plus positive sign or addition operator ? minus negative sign or subtraction operator ( left parenthesis changes operation sequence ) right parenthesis changes operation sequence [ left bracket base register specification symbol, array subscript operator ] right bracket base register specification symbol, array subscript operator & ampersand address operator or bit and operator ^ control bit xor operator | vertical line bit or operator ~ tilde complement operator
appendix b terminology user?s manual u15185ej1v0um 432 b.2 window types and configuration the id78k series debuggers consist of windows and dialog boxes. basically, a window can be opened by using an icon, while a dialog box cannot. b.2.1 windows windows are broadly divided into the following two types. ? main windows ? mdi child windows mdi child windows cannot be displayed outside of the main window frame. b.2.2 dialog boxes dialog boxes can be classified into the following two types. ? modal dialog boxes ? modeless dialog boxes (1) modal dialog boxes when this type of dialog box is open, the user cannot access other windows or dialog boxes until the dialog box is exited. when the dialog box is closed after the operation in the dialog box has been completed or by selecting the cancel button of the dialog box, other windows and dialog boxes can be accessed. (2) modeless dialog boxes unlike a modal dialog box, the user can access other windows and dialog boxes even if the operation in the dialog box has not been completed.
user?s manual u15185ej1v0um 433 appendix c error message list the error messages displayed in the id78k series consist of error no. + type + message . figure c-1. display format of error message when the ok button is clicked, the error message window is closed, and the operation is performed in accordance with the message. the error type is identified by the following three uppercase characters. table c-1. error message type type meaning a fatal error (abort error). the processing is aborted and the debugger is terminated. if this error occurs, the debugging work cannot be continued. f syntax error (fatal error). the processing is aborted, and all open windows and dialog boxes are closed. w warning. the processing is aborted. open windows and dialog boxes are not closed. table c-2 lists the error messages. error number type message
appendix c error message list 434 user?s manual u15185ej1v0um table c-2. error message list (1/21) error no. type error message/meaning 0002 f this feature is not supported. this function is not supported. 0100 a can not communicate with ice. please confirm the installation of the device driver for the pc interface board. communication with the in-circuit emulator cannot be established. check that the device driver for the interface board has been correctly installed. 0101 a can not find initialization file (expc.ini). an initialization file (expc.ini) cannot be found. 0102 a host name not found. no host name is found. 0103 a data transfer to ice is timed out. please confirm the power of ice, connection of the interface cable, or i/o address of the pc interface board. data could not be transmitted to the in-circuit emulator. check the in-circuit emulator?s power supply, cable connection, i/o address settings, etc. 0104 a data receive from ice is timed out. please confirm the power of ice, connection of the interface cable, or i/o address of the pc interface board. the in-circuit emulator returns no response. check the in-circuit emulator?s power supply, cable connection, i/o address settings, etc. 0105 a failed in reading device file (d0xxx.78k). the device file (d0xxx.78k) could not be correctly read. 0106 a illegal data received. received data is abnormal. 01a0 a no response from the evachip. please confirm the signal of the clock or reset, wait, hldrq and so on. there was no response from the evaluation chip. check that the reset, wait, hldrq (etc) signals or the clock signal are not abnormal. 01a1 a failed in reading ie703000.ie. ie703000.ie could not be correctly read. 01a2 a break board is not connected. the bk board is not connected. 01a3 a emulation board is not connected. the emulation board is not connected. 01a4 a board configuration of ice is not consistent. the board configuration in the in-circuit emulator is not consistent. 01a5 a pod/em1 board is not connected. the pod/em1 board is not connected. 01a6 a executor is running. the executor is running. 01a8 a failed in reading initialization file (expc.ini). the initialization file (expc.ini) has not been correctly read. 01d0 a failed in starting simulator. simulator startup has failed. 01d1 a not enough memory in starting simulator. the memory at simulator startup is insufficient.
appendix c error message list user?s manual u15185ej1v0um 435 table c-2. error message list (2/21) error no. type error message/meaning 0200 f verification error. a verify error. 02a0 f bus hold error. the bus is in the hold status. 02d2 f not enough memory for trace-buffer. memory for trace frame cannot be allocated. 0300 f user program is running. the user program is being executed. 0301 f user program is being breaked. the user program is undergoing a break. 0302 f user program is being traced. the user program is being traced. 0303 f not traced. tracer measurement is not performed. 0304 f trace memory is not set. the tracer is off. 0306 f no trace block exists. there is no trace block. 0307 f no event condition exists. there is no event condition. 0308 f no timer measurement is done. timer measurement is not performed. 0309 f no trigger frame exists. there is no trigger frame. 030a f tracer is being stopped. the tracer is stopped. 030b f specified snap-event has not been registered. the snap event to be referenced/deleted is not registered. 030d f timer is running. the timer is operating. 030e f memory copy area is overlapped. the memory copy range has been overlapped. 030f f trace has been already set. trace is already in the on status. 0310 f event condition is not set. no event condition is set. 0311 f too many valid timer event conditions. the number of valid timer event conditions exceeds the maximum settable number. 0312 f specified timer event is not set. this timer event is not set. 0313 f illegal map range. the map setting is wrong.
appendix c error message list user?s manual u15185ej1v0um 436 table c-2. error message list (3/21) error no. type error message/meaning 03a0 w target is not turned on. power is not supplied to the target device. 03a1 f step execution is being done. this command is under step execution. 03a2 f timer and tracer are running. the timer and tracer are operating. 03d0 a backtrace is being executed. back trace is under execution. 03d1 a backtrace is being stopped. back trace is stopped. 03d2 a backtrace execution point overrun oldest frame. the back trace execution stop position exceeds the oldest frame. 03d3 a illegal and condition. and condition is illegal. 03d4 a no backtrace information exists. the back trace information does not exist. 03d5 a last command can not be backstepped. back step of the last instruction could not be performed. 0400 f illegal condition. the specified condition is illegal. 0401 f result of timer measurement overflowed. the timer measurement result has overflow. 0402 f too many event conditions with path count. too many event conditions that set path count have been used. 0403 f too many address range conditions. the maximum value of the address range specification condition is exceeded. 0404 f too many simultaneously-usable-event conditions. the maximum number of event conditions that can be used simultaneously is exceeded. 0405 f too many snap-events. the maximum number of snap events that can be set is exceeded. 0407 f too many initialization data. the number of initialized data exceeds the initialization area. 0408 f too large search data (> 16 byte). the searched data exceed 16 bytes. 0409 f too large search data (> search range). the size of the searched data exceeds the size of the search range. 040a f too many linking-event conditions. the maximum number of integrated events that can be set is exceeded. 04a0 f too many software breaks (> 100). the number of software breaks exceeds 100. 04a1 f not enough memory for emulation. the memory for emulation is insufficient.
appendix c error message list user?s manual u15185ej1v0um 437 table c-2. error message list (4/21) error no. type error message/meaning 04a2 f too many partition of bus size. the maximum number of delimiters of bus size has been exceeded. 04a3 f too many execution-event conditions. the maximum number of execution event conditions has been exceeded. 04a4 f too many bus-event conditions. the maximum number of bus event conditions has been exceeded. 0600 a can not allocate buffer. a buffer could not be allocated. 0c00 f monitor file read error. the monitor file could not be read. 0c20 f guarded area can not be accessed. there was an attempt to access a guarded area. 0c40 f different address condition is specified in re-registering event. the address condition when the event was reregistered was different to the previous one. 0c41 f coverage test is being executed. a coverage test is under execution. 0c60 f event number with different condition exits. an event number with a different condition exists. 0c61 f can not register event numbers which can not be used for hardware break. it is impossible to register event numbers that cannot be used for hardware breaks. 0c62 f event numbers reserved for hardware breaks can not be used. it is impossible to use event numbers that are used for hardware breaks. 0ca0 f can not communicate with ice. please confirm the power of ice, connection of the interface cable, or i/o address of the pc interface board. communication with the in-circuit emulator could not be established. check the in-circuit emulator?s power supply, cable connection, i/o address settings, etc. 0ca1 f monitor file not found. the monitor file could not be found. 1000 a failed in initializing ice. initializing the in-circuit emulator has failed. 1001 a no entry exists for specified number. the entry of the specified number does not exist. 1002 a can not relocate internal ram. the internal ram cannot be relocated. 1003 f illegal relocation address. the relocation address is illegal. 1004 f illegal condition. the specified condition is illegal. 1005 a invalid attribute. the attribute is invalid. 1006 f illegal address. the address is illegal. 1007 a not enough memory on ice. in-circuit emulator alternate memory is short.
appendix c error message list user?s manual u15185ej1v0um 438 table c-2. error message list (5/21) error no. type error message/meaning 1008 a can not allocate memory for tables. memory for tables cannot be allocated. 1009 a already initialized. already initialized. 100a a not initialized. not initialized yet. 100b f user program is running. the user program is being executed. 100c f different bus size has been already specified. an attempt was made to set in duplicate an area with different bus size. 100d f too large bus size. the bus size exceeds the maximum value able to be defined. 100e f too large bus partition size. the delimiter of bus size has exceeded the maximum value. 100f w target is not turned on. the power supply of the target is off. 1010 a illegal map range. an illegal map range specification was made. 1011 f failed in setting internal rom and ram. setting the internal rom and ram has failed. 1012 f this feature is not supported. this function is not supported. 1013 f no terminal name. this pin name does not exist. 10ff a can not communicate with ice. a communication error has occurred. communication with the in-circuit emulator cannot be performed. 1dbe a internal error. internal error of the debugger. 2000 f illegal i/o register name. the i/o register name is illegal. 2001 a illegal address. the address is illegal. 2002 f user program is running. the user program is being executed. 2003 f illegal i/o register number. an illegal number of i/o registers were specified. 2004 f illegal bit number. the bit position is illegal. 2005 w redraw i/o register name. an i/o register that must not be redrawn is specified. 2006 f this i/o register is hidden i/o register. an i/o register with a hidden attribute was specified.
appendix c error message list user?s manual u15185ej1v0um 439 table c-2. error message list (6/21) error no. type error message/meaning 2007 f can?t read/write. a read/write disabled i/o register was specified. 2008 f too big number. the specified i/o register does not exist. 2009 a error in device file. a device file error. 200a f illegal value specified for i/o register. an illegal value was specified for the i/o register. 200b a can not copy. copying has failed. 200c a can not allocate memory. memory allocation has failed. 20ff a can not communicate with ice. a communication error has occurred. communication with in-circuit emulator cannot be established. 2222 a illegal condition. the specified condition is illegal. 3000 f illegal address. the address is illegal. 3001 f memory has different value. the memory contents do not match. 3002 f illegal source address. the source address is illegal. 3003 f illegal destination address. the destination address is illegal. 3004 f illegal address (source & destination). both source address and destination address are illegal. 3005 f illegal condition. the specified condition is illegal. 3006 f user program is running. the user program is being executed. 3007 a verification error. verify error. 3008 f no condition specified. a condition has not been specified. 3009 f parameter size does not align with access size alignment. the size of the parameter is not access size aligned. 300a f specified address does not align with access size alignment. the specified address is not access size aligned. 300b f source address does not align with access size alignment. the specified address (source) is not access size aligned. 300c f destination address does not align with access size alignment. the specified address (destination) is not access size aligned.
appendix c error message list user?s manual u15185ej1v0um 440 table c-2. error message list (7/21) error no. type error message/meaning 300d f illegal end address. the end address is illegal. 300e f different access size in specified area. the access size differs in the specified range. 300f f different access size both in source and destination areas. the access size differs in the specified range (source). 3010 f different access size in destination area. the access size differs in the specified range (destination). 3011 f different access size, source & destination. the access size differs between the specified source range and the specified destination range. 3012 a can not allocate memory. memory allocation has failed. 3013 a failed in writing dmm. writing dmm has failed. 3014 f overflowed mapping area. the mapping area is exceeded. 3015 a interrupted. processing is aborted. 3016 f this feature is not supported. this function is not supported. 30ff a can not communicate with ice. a communication error has occurred. communication with the in-circuit emulator cannot be established. 4000 f can not delete specified event number. the specified event number cannot be deleted. 4001 f illegal table number. the specified table number is illegal. 4002 f illegal start address. the start address is illegal. 4003 f illegal end address. the end address is illegal. 4004 f illegal status. the status is illegal. 4005 f illegal data. the data is illegal. 4006 f specified event number has been already used. an attempt was made to specify an event number that has already been used. 4007 f too many same events are registered. the maximum of the number of registered events of the same type is exceeded. 4008 f specified event has not been registered. the specified event is not registered. 4009 f illegal data size. the data size is illegal.
appendix c error message list user?s manual u15185ej1v0um 441 table c-2. error message list (8/21) error no. type error message/meaning 400a f illegal mode. the mode is illegal. 400b f illegal condition. the specified condition is illegal. 400c f illegal type. the type is illegal. 400d f too many identical events are registered (>= 32767). an attempt was made to make registration exceeding 32,767 of the same registered events. 400e f specified event condition does not exist. the specified event condition does not exist. 400f f illegal event link condition. an event link condition is illegal. 4010 f function not found. the specified function was not found. 4011 f not enough memory. application has run out of memory. 4012 f timer is being disabled. the timer is invalid. 4013 w access size is different from its mapped bus size. the access size and mapped bus size differ. 4014 f can not use software break. software break cannot be used. 4015 f can not use event condition specifying address range. an event condition with a range specified cannot be used for an address condition. 4016 f can not change event condition. the event condition cannot be changed. 4017 f can not access word at odd address. word access to an odd address cannot be performed. 4018 a not enough memory. application has run out of memory. 4019 f not support. this function is not supported. 401a f no event. there is no event. 401b f can not use tag-event. a tag event cannot be used. 4318 f illegal memory bank setting. the setting of the memory bank is illegal. 5000 a illegal type. the type is illegal. 5001 a can not allocate memory. memory allocation has failed.
appendix c error message list user?s manual u15185ej1v0um 442 table c-2. error message list (9/21) error no. type error message/meaning 5002 a can not open device file. opening the device file has failed. 5003 a can not seek device file. seeking the device file has failed. 5004 a can not close device file. closing the device file has failed. 5005 a illegal device file format. the format of the device file is wrong. 5006 a failed in initializing ice. initializing the in-circuit emulator has failed. 5007 a device information does not exist. device information is missing. 5008 f can not open device file. the specified device file cannot be opened. 5009 f can not open ie703000.ie. ie703000.ie cannot be opened. 500a f specified device file is illegal version. the version of the device file is illegal. 500b w specified device file does not relocate iram. this device file does not relocate iram. 500c a failed in reading expc.ini. the initialization file (expc.ini) cannot be correctly read. 500d a not enough memory. the memory has run short. 5300 a illegal type. the type is illegal. 5301 a can not allocate memory. memory allocation has failed. 5302 a can not open database file. the database file could not be opened. 5303 a can not seek database file. the database file could not be searched. 5304 a can not close database file. the database file could not be closed. 5305 a illegal device format. the format of the database file is illegal. 5306 a database information has been already initialized. initialization of the database information is already finished. 5307 a database information does not exist. there is no database information. 5308 f can not open specified database file. the specified database file could not be opened.
appendix c error message list user?s manual u15185ej1v0um 443 table c-2. error message list (10/21) error no. type error message/meaning 5309 f specified database file is illegal version. the version of the database file is illegal. 6000 f current function does not exist. the current function does not exist. 6001 f illegal symbol name. the symbol name is illegal. 6002 f illegal condition. the specified condition is illegal. 6003 f illegal function name. the function name is illegal. 6004 f overflowed output buffer size. the data size exceeds that of the output buffer. 6005 f illegal expression. the expression is illegal. 7000 f illegal mode. the specified mode is wrong. 7001 f user program is running. the user program is being executed. 7002 f user program has been stopped. the user program is being stopped. 7003 f trace enabled. trace is being executed. 7004 f trace memory is not set. the trace memory is off. 7005 f function return address does not exist, can not do step execution. the return address of the function does not exist. step execution is not performed. 7010 w no source information exists. the source information is missing. 7011 w unknown result of step execution. the result of step execution is unknown. 7012 a not enough memory. application has run out of memory. 70fe a bus hold error. the bus is in the hold status. 70ff a can not communicate with ice. a communication error has occurred. communication with the in-circuit emulator cannot be established. 7801 f canceled step wait. the wait status following completion of step execution has been canceled. 7802 f interrupted step execution. step execution processing was aborted. 7f00 f aborted step execution. step execution processing was forcibly terminated.
appendix c error message list user?s manual u15185ej1v0um 444 table c-2. error message list (11/21) error no. type error message/meaning 7f02 f suspended step execution. step execution was aborted. 7f03 a failed in canceling run/step. canceling run/step has failed. 7f04 f can not execute non-mapped area. an attempt is made to execute from an area not mapped. 7f05 f this feature is not supported. this function is not supported. 8000 f file not found. the specified file is not found. 8001 f illegal line number. the line number is illegal. 8002 f current information is not set. the current information is not set. 8003 f illegal address. the address is illegal. 8004 f this feature is not supported. this function is not supported. 9000 a specified register symbol does not exist. the specified register symbol does not exist. 9001 a specified register symbol id does not exist. the specified register symbol id does not exist. 9002 f illegal value. the specified value is illegal. 9003 a illegal condition. the specified condition is illegal. 9004 a too large register size. the register size is too big. 9005 f this feature is not supported. this function is not supported. a001 f illegal expression. the expression is illegal. a002 f start address is bigger than the end address. the start and end address specifications have been reversed. a003 f illegal source path. the specified source path information is illegal. a004 f too long expression. the expression is too long. a005 a not enough memory. application has run out of memory. a006 f illegal argument. the argument is illegal.
appendix c error message list user?s manual u15185ej1v0um 445 table c-2. error message list (12/21) error no. type error message/meaning a007 a illegal program number. the program number is wrong. a008 f source path is not set. the source path is not set. a009 f file not found. the file is not found. a00a f can not open file. opening the file has failed. a00b a can not close file. closing the file has failed. a00c a failed in reading file. reading the file has failed. a00d f not source file of load module. this is not the load module?s source file. a00e f illegal line number. the line number is illegal. a00f f variable does not exist. the variable does not exist. a010 a can not communicate with ice. a communication error has occurred. communication with the in-circuit emulator cannot be established. a011 f can not access register. the register cannot be accessed. a012 f can not access memory. the memory (variable) cannot be accessed. a013 f can not seek file. seeking a file has failed. a014 f this is binary file. this is a binary file. a015 f can not get temporary path. a temporary path could not be allocated. a016 f can not create temporary file. a temporary file could not be created. a017 f can not remove temporary file. a temporary file could not be deleted. a020 f this feature is not supported. this function is not supported. a021 f specified symbol is assigned to register. the specified symbol has already been assigned to a register. b000 f illegal command line. the command line is illegal. b001 f program information does not exist in specified load module file. the load module file does not have program information.
appendix c error message list user?s manual u15185ej1v0um 446 table c-2. error message list (13/21) error no. type error message/meaning b002 f file not found. the file is not found. b003 f function not found. the function is not found. b004 f illegal magic number. the magic number is illegal. b005 f symbol not found. the symbol is not found. b008 f illegal expression. the expression is illegal. b009 a not enough memory. application has run out of memory. b00a f illegal symbol in load module file. an illegal symbol exists in the load module file. b00b f current program does not exist. the current program does not exist. b00c f current file does not exist. the current file does not exist. b00d a current function does not exist. a current function does not exist. b00e a current line does not exist. a current line does not exist. b00f a tag not found. no tag is found. b010 a failed in loading symbol table. loading the symbol table has failed. b011 a illegal line number. the line number is illegal. b012 f too large line number. the line number is too large. b015 a failed in reading file. reading the file has failed. b016 a can not open file. opening the file has failed. b017 a failed in writing file. writing the file has failed. b019 a can not seek file. seeking the file has failed. b01a a can not close file. closing the file has failed. b01b a too long load module file name. the file name of the load module is too long.
appendix c error message list user?s manual u15185ej1v0um 447 table c-2. error message list (14/21) error no. type error message/meaning b01c a too many entries of the task kind. there are too many task classification entries. b01d f address not found. the address does not exist. b01e w no line information (not compile with -g). there is no line information (it was not compiled using -g). b01f f can not find structure member. the member of the structure cannot be found. b020 f can not find value. the value could not be found. b021 f no symbol information exists in load module file. the load module file does not have symbol information. b022 f illegal line number. the line number is illegal. b023 a current stack frame is not active. the current stack frame is not active. b024 a different section. the section is wrong. b026 f too many array dimensions (> 4). the displayed array exceeds the fourth dimension. b027 f found end of file. the file ends in the middle. b028 f this feature is not supported. this function is not supported. b029 f illegal address. the address is illegal. b02a a can not communicate with ice. a communication error has occurred. communication between in-circuit emulator cannot be established. b02b f can not stack trace with current pc value. stack trace cannot be executed with the current pc value. b02c f too many blocks for one function. the maximum number of blocks allowable in 1 function has been exceeded. b02d f illegal argument. the argument passed to the function is illegal. b02e a path not found. the specified path is not found. b02f a information has been deleted because of optimization. information has been deleted as a result of optimization. b030 a monitor timed out. timeout for the monitor. b031 a already set in memory. already set on the memory.
appendix c error message list user?s manual u15185ej1v0um 448 table c-2. error message list (15/21) error no. type error message/meaning b032 a out of scope. out of scope. b033 a lp is not stored. lp has not been stored. b034 a inside of prologue or epilogue. within the prologue or epilogue. b036 w out of variable region. the specified variable cannot be referenced by the current pc. b037 f too many line-numbers information. there is too much line information. b038 f compiler version missmatch. because this compiler version is not supported, the debug information could not be loaded. b039 a failed in loading debug information. the debug information could not be loaded. b03a a no more section information. there is no section information. b040 a specified file is not load module. the specified file is not in a load module format. b041 a too many files in load module to download. the number of files in the load module exceeds the maximum number the debugger can handle. b042 w symbol module is not initialized. the sym module has not been initialized. b32e f illegal port number. an illegal port number. b32f f illegal port name. an illegal port name. b330 f illegal port position. the bit position of the specified port is illegal. b331 f illegal increment number. the specified increment count is illegal. b332 f port for memory bank is not set. the port for memory bank is not set. b333 f illegal bank number. an illegal bank number is specified. b334 f area for memory bank is not set. an area for memory bank is not set. b335 w too long symbol name. the symbol name is longer than the maximum allowable length. c001 f can not open file. opening the file has failed. c002 a can not close file. closing the file has failed.
appendix c error message list user?s manual u15185ej1v0um 449 table c-2. error message list (16/21) error no. type error message/meaning c003 a failed in reading file. reading the file has failed. c004 a can not seek file. seeking the file has failed. c005 f illegal file type. a non-existent file type has been specified. c006 f illegal magic number. the magic number is illegal. c007 f specified file is not load module. the specified file is not in a load module format. c008 f specified load module file (elf) is old version. the version of the load module file (elf) is old. c009 f not enough memory. application has run out of memory. c00a f illegal address. the address is illegal. c00b f load module is not loaded. the load module is not loaded. c00c f illegal argument. the argument is illegal. c00d f user program is being emulated. the user program is being emulated. c00e f user program is being traced. the user program is being traced. c00f a interrupted. under processing. c010 a can not communicate with ice. a communication error has occurred. communication between the in-circuit emulator cannot be established. c011 f illegal load module file format. the format of the load module file is wrong. c012 f check sum error. a check sum error has occurred. c013 f too wide address range to upload (> 1m byte) the address range to be uploaded exceeds 1 mb. c014 f failed in writing file. writing the file has failed. c015 f illegal program number. the program number is illegal. c016 f load information is full. the load information is full. c017 w symbol information is duplicated, please reset symbols. the symbol information overlaps. reset the symbol.
appendix c error message list user?s manual u15185ej1v0um 450 table c-2. error message list (17/21) error no. type error message/meaning c018 f specified file is not load module. the specified file is not in a load module format. c019 f failed in writing memory. memory could not be written to. c100 f this feature is not supported. this function is not supported. d000 a internal error. an error occurs inside the debugger. d001 f not enough memory. application has run out of memory. d002 a failed in reading initialization file (expc.ini). the initialization file (expc.ini) cannot be read correctly. d003 a ice is not connected. the in-circuit emulator is not connected. d004 a can not find dynamic link library. the dynamic link library could not be found. e000 f illegal argument. the argument is illegal. e001 f illegal start address. the start address is illegal. e002 f illegal end address. the end address is illegal. e003 f too large size. the address size is too large. e004 f can not open file. opening the file has failed. e005 f failed in reading file. reading the file has failed. e006 f can not seek file. seeking the file has failed. e007 f failed in writing file. writing the file has failed. e008 f not enough memory. application has run out of memory. e009 f illegal file format. the file format is wrong. e00a f verification error. verify error. e010 f this feature is not supported. this function is not supported. f000 f not enough memory. application has run out of memory.
appendix c error message list user?s manual u15185ej1v0um 451 table c-2. error message list (18/21) error no. type error message/meaning f001 f xxx not found. xxx could not be found. f002 f not found xxx. search from the beginning? xxx could not be found. do you want to search from the beginning? f003 w already exceed search region the search range has already been exceeded. f004 f missing parameter. the parameter is illegal. f005 f illegal name. the name is illegal. f006 f illegal number. the number is illegal. f007 f start address is bigger than end address. start address is bigger than end address. f008 f illegal expression the expression is illegal. f009 f xxx this file is illegal type. xxx this file is an illegal type. f100 f disk cannot write or full. either the disk could not be written to or it is full. f101 f file not found. this file could not be found. f102 f file not create. this file could not be created. f103 f old file version. this file is an old version. f104 f illegal file type. the file format is illegal. f105 f this file is a project file for xxxx please select a correct file. this project file is a file for xxx. specify a correct file. f200 w no differences encountered. there were no differences found. f201 f memory mapping error. the memory could not be mapped. f202 f verify error. verify error. f300 f would you like to save the changes made in xxx? do you want the changes made in xxx to be saved? f301 f the symbol being used on the event condition can?t be evaluated. the symbol being used in the event condition could not be evaluated. f302 f delete xxx? do you want xxx to be deleted?
appendix c error message list user?s manual u15185ej1v0um 452 table c-2. error message list (19/21) error no. type error message/meaning f303 f xxx is edited. delete yyy? xxx is being edited; do you want yyy to be deleted? f304 f xxx is edited. save yyy? xxx is being edited; do you want yyy to be saved? f305 f xxx is already exist. do you replace it? do you want to replace the existing xxx? f306 f this name is too long. this name is too long. f307 f there is the same name in other kinds. the same name is being used in other conditions. f308 f an address can?t be omitted. an address cannot be omitted. f309 f illegal address mask. the address mask is illegal. f30a f illegal data mask. the data mask is illegal. f30b f illegal ext probe mask. the external probe mask is illegal. f30c f illegal ext probe data. the external probe data is illegal. f30d f illegal pass count. the pass count is illegal. f30e f illegal register name. the register name is illegal. f30f f illegal register bank. the register bank is illegal. f310 f illegal delay count. the delay count is illegal. f311 f only one xxx can be enabled. do you make this yyy to enable? only one xxx can be enabled; do you want to enable yyy? f312 f xxx is already there. xxx already exists. f313 f event number already exist. this event number already exists. f314 f event name is not set. the event name has not been set. f315 f xxx is already there. xxx already exists. f316 f max number of xxx enabled event is over. please disable other enabled event. the maximum allowable number of valid event conditions has been exceeded. disable other event conditions. f317 f max number of set event is over. the maximum number of settable event conditions has been exceeded.
appendix c error message list user?s manual u15185ej1v0um 453 table c-2. error message list (20/21) error no. type error message/meaning f318 f max number of set event link is over. the maximum number of settable event link conditions has been exceeded. f319 f max number of set break event is over. the maximum number of settable break conditions has been exceeded. f31a f max number of set trace event is over. the maximum number of settable trace conditions has been exceeded. f31b f max number of set snap event is over. the maximum number of settable snap conditions has been exceeded. f31d f max number of set timer event is over. the maximum number of settable timer conditions has been exceeded. f31e f illegal start address. the start address is illegal. f31f f illegal end address. the end address is illegal. f320 f illegal bit address. the bit address is illegal. f321 f specified read-protect i/o register. a read-protected i/o register has been specified. f350 f there is a phase which event are not in the middle. an event condition setting is missing from the middle of a phase. f351 f the same event is contained in link and disable. the same event condition is already being used. f352 f an event isn?t specified. an event condition has not been set. f353 f incompatible event is specified in phase 1. an incompatible event condition has been set in phase 1. f354 f and event is in phase 1. can?t specify event with exception of phase 1. an and condition event has already been set in phase 1. event conditions cannot be set anywhere except in phase 1. f355 f reg/mem event in disable. the reg/mem status event has been set to disable. f356 f and event is in disable. the and condition event has been set to disable. f400 f coverage mapping error. coverage mapping could not be performed. f401 f clear coverage? do you want to clear the coverage? f500 f illegal symbol. the symbol is illegal. f501 f illegal value. the value is illegal. f502 f illegal parameter. the parameter is illegal.
appendix c error message list user?s manual u15185ej1v0um 454 table c-2. error message list (21/21) error no. type error message/meaning f600 f save project file? do you want to save the project file? f601 w when connecting the target system, please turn on the target system. when connecting the target system, be sure to turn its power supply on. f700 f download failed. data could not be downloaded. f800 f configuration of memory bank is not set. the memory bank setting has not been made. f801 f bank address must be in target memory. the address of the memory bank must be inside the target memory. f802 f all events are deleted because the use of external probe was changed. all event conditions have been deleted because the external probe has changed. f803 f this event address is invalid on current configuration. the address of this event condition is illegal. f804 f invalid pc value. the pc value is illegal. f805 f cannot set temporary break on this address. a temporary break cannot be set to this address. f806 f external data is being used by debugger. external data is being used by the debugger. f900 f missing parameter. the name is illegal. f901 f memory mapping error. there is a fault with the memory mapping. f902 f illegal access size. the access size is illegal. f903 f illegal access type. the access type is illegal. f904 f there is the same name. the same name cannot be registered. f905 w xxx is already exist. do you replace it? do you want to replace the existing xxx? f906 w would you like to register the change made in xxx? do you want to register the changes made to xxx? fa00 f the xxxx function of current program on pc position not found. the function xxxx of the pc position program could not be found. fa01 f the line information on pc position not found. the line information of the pc position could not be found. fb00 w user program is running. do you want to stop user program? the program is being executed. do you want to stop the program?
user?s manual u15185ej1v0um 455 appendix d key function list efficient debugging can be realized by performing operations using the special function keys. note that because the key explanations differ depending on the type of keyboard in ibm pc/at and compatible machines, the key inscriptions employed here are general or generic key inscriptions. d.1 special function key function list a list of the special function key functions of the pc-9821 series and ibm pc/at and compatibles is shown in the table below. table d-1. special function key function list (1/2) key type pc-9821 series ibm pc/at compatibles function bs . backspace . deletes a character preceding the cursor and moves the cursor to the position of the deleted character. at this time, the string of characters following the cursor moves forward one space. del . delete . ? deletes a character at the cursor position and moves the following characters forward one space. ? deletes the event conditions selected in the event manager and each event dialog box. ? deletes the data selected in the watch window. ins . insert . switches the modes between insert mode and overwrite mode in the source and assemble windows. however, this key is disabled in the memory, register, and sfr windows, where the input mode is overwrite mode only. copy . printscreen . places the entire screen display on the clipboard as a bitmap image (windows function). esc . esc . ? closes a pull-down menu. ? closes a modal dialog box. ? restores input data. grph . alt . moves the cursor on the menu bar. help . end . moves the cursor to the end of the line. home clr . home . moves the cursor to the start of the line. roll down . pageup . scrolls the screen up one screen. simultaneously moves the cursor to the top of the screen. roll up . pagedown . scrolls the screen down one screen. simultaneously moves the cursor to the top of the screen. space . space . inserts a 1-character space. tab . tab . moves the cursor to the next item. . . moves the cursor up. when the cursor is at the top of the screen, the screen is scrolled down one line at a time.
appendix d key f unction list user?s manual u15185ej1v0um 456 table d-1. special function key function list (2/2) key type pc-9821 series ibm pc/at compatibles function . . moves the cursor down. when the cursor is at the bottom of the screen, the screen is scrolled up one line at a time. . . moves the cursor to the left. when the cursor is on the far left of the screen, the screen is scrolled to the right one item at a time. . . moves the cursor to the right. when the cursor is on the far right of the screen, the screen is scrolled to the left one item at a time. ? . ? . ? sets the input data. ? presses the default push button. d.2 function key function list a list of the function key functions of the pc-9821 series and ibm pc/at and compatibles is shown in the table below. table d-2. function key function list (1/2) key type pc-9821 series ibm pc/at compatibles function f1 . f1 . opens the help window. f2 . f2 . forcibly stops program execution. the same function as [run] [s top] on the menu bar. f3 . f3 . resets the emulation cpu. the same function as [run] [cpu reset] on the menu bar. f4 . f4 . executes the program after resetting the emulation cpu. the same function as [run] [r estart] on the menu bar. f5 . f5 . executes the program. the same function as [run] [g o & go] on the menu bar. f6 . f6 . executes the program as far as the cursor position in the source or assemble window. the same function as [run] [com e here] on the menu bar. f7 . f7 . executes the program in real-time until execution returns to the calling origin. the same function as [run] [re turn out] on the menu bar. f8 . f8 . performs step execution. the same function as [run] [st ep in] on the menu bar. f9 . f9 . sets/cancels a breakpoint at the cursor position in the source or assemble window. the same function as [run] [b reak point] on the menu bar.
appendix d key f unction list user?s manual u15185ej1v0um 457 table d-2. function key function list (2/2) key type pc-9821 series ibm pc/at compatibles function f10 . f10 . performs next step execution. the same function as [run] [nex t over] on the menu bar. vf1 . f11 . sets/cancels a software breakpoint. the same function as [run] [sof tware break point] on the menu bar. d.3 special function key function list ( shift + key) a list of the special function key functions ( shift + key) of the pc-9821 series and ibm pc/at and compatibles is shown in the table below. table d-3. special function key function list ( shift + key) key type pc-9821 series ibm pc/at compatibles function help . end . extends the selected range to the end of the line. home clr . home . extends the selected range to the start of the line. . . extends the selected range one character to the left. . . extends the selected range one character to the right. d.4 function key function list ( shift + key) a list of the function key functions ( shift + key) of the pc-9821 series and ibm pc/at and compatibles is shown in the table below. table d-4. function key function list ( shift + key) key type pc-9821 series ibm pc/at compatibles function f6 . f6 . executes the program from the cursor position in the source or assemble window. the same function as [run] [sta rt from here] on the menu bar.
appendix d key f unction list user?s manual u15185ej1v0um 458 d.5 special function key function list ( ctrl + key) a list of the special function key functions ( ctrl + key) of the pc-9821 series and ibm pc/at and compatibles is shown in the table below. table d-5. special function key function list ( ctrl + key) key type pc-9821 series ibm pc/at compatibles function help . end . displays the last line. simultaneously moves the cursor to the start of the last line. home clr . home . displays the first line. simultaneously moves the cursor to the start of the first line. . . moves the cursor one word to the left. when the cursor is on the far left of the screen, the screen is scrolled one item to the right. . . moves the cursor one word to the right. when the cursor is on the far right of the screen, the screen is scrolled one item to the left. d.6 function key function list ( ctrl + key) a list of the function key functions ( ctrl + key) of the pc-9821 series and ibm pc/at and compatibles is shown in the table below. table d-6. function key function list ( ctrl + key) key type pc-9821 series ibm pc/at compatibles function f5 . f5 . ignores the set breakpoint and executes the program. the same function as [run] [ignore break p oints and go] on the menu bar. f9 . f9 . sets the address of the cursor position in the source or assemble window in the pc. the same function as [run] [ch ange pc] on the menu bar.
appendix d key f unction list user?s manual u15185ej1v0um 459 d.7 control key function list ( ctrl + key) a list of the control key functions ( ctrl + key) of the pc-9821 series and ibm pc/at and compatibles is shown in the table below. table d-7. control key function list ( ctrl + key) key type pc-9821 series ibm pc/at compatibles function d . shows a disassemble display from the jump destination address of the data value selected in the current window. opens the assemble window. the same function as [jump] [a ssemble] on the menu bar. c . copies the selected character string and places it in the clipboard buffer. the same function as [edit] [c opy] on the menu bar. g . performs a search. opens the search dialog box appropriate to the current window. the same function as [view] [s earch?] on the menu bar. i . displays the memory contents from the jump destination address of the data value selected in the current window. opens the coverage window. the same function as [jump] [c overage] on the menu bar. j . moves the display position. opens the source move, address move, and trace move dialog box appropriate to the current window. the same function as [view] [m ove?] on the menu bar. m . displays the memory contents from the jump destination address of the data value selected in the current window. opens the memory window. the same function as [jump] [me mory] on the menu bar. o . loads a display, source, or text file. opens the view file load dialog box. operations differ depending on the file extension. for display files: displayed in corresponding window. for other files: displayed in source window. the same function as [file] [o pen?] on the menu bar. u . displays the corresponding source text and source line from the jump destination address of the data value selected in the current window. opens the source window. the same function as [jump] [s ource] on the menu bar. v . pastes the contents of the clipboard buffer at the cursor position. the same function as [edit] [p aste] on the menu bar. w . temporarily displays the contents of the specified data. opens the quick watch dialog box. the same function as [view] [q uick watch?] on the menu bar. x . removes the selected character string and places it on the clipboard buffer. the same function as [edit] [cut ] on the menu bar.
appendix d key f unction list user?s manual u15185ej1v0um 460 d.8 special function key function list ( ctrl + shift key) a list of the special function key functions ( ctrl + shift key) of the pc-9821 series and ibm pc/at and compatibles is shown in the table below. table d-8. special function key function list ( ctrl + shift key) key type pc-9821 series ibm pc/at compatibles function . . extends the selected range one word to the left. . . extends the selected range one word to the right.
user?s manual u15185ej1v0um 461 appendix e index [a] about dialog box .................................................... 380 add i/o port dialog box.......................................... 225 add watch dialog box ............................................ 208 address.................................................................. 427 address move dialog box....................................... 142 all trace.................................................................... 47 assemble search dialog box ................................. 178 assemble window .................................................. 167 automatic mode............................................... 60, 424 [b] bank set dialog box ................................................ 92 break by come function........................................... 45 break function.......................................................... 45 break on satisfaction of condition during step execution.............................................................. 45 breakpoint setting function............................. 159, 174 browse dialog box ................................................. 137 [c] change watch dialog box...................................... 211 character set ......................................................... 430 clearing coverage result ........................................ 266 come function................................................ 159, 173 conditional trace...................................................... 47 configuration dialog box .......................................... 86 console window..................................................... 384 coverage measurement function............................. 50 coverage search dialog box.................................. 263 coverage window .................................................. 258 coverage-clear dialog box .................................... 266 coverage-condition setting dialog box.................. 268 coverage-efficiency view dialog box..................... 271 current file ............................................................. 425 current function ..................................................... 425 current program .................................................... 424 current window...................................................... 424 [d] debugger option dialog box .................................. 103 debugging environment................................. 114, 117 debugging with id78k series ................................ 419 delay count dialog box.......................................... 376 delimiter symbol .................................................... 424 detailed display mode............................................ 275 dialog box ..............................................................432 disassemble display...............................................167 display file ................................................................51 displaying pc register value ..........................155, 170 displaying stack contents .......................................231 dmm dialog box .....................................................368 download dialog box ..............................................130 drag-and-drop function...................................161, 176 [e] emulation board .......................................................19 emulation execution functions..................................38 emulation ram ........................................................37 emulation rom ........................................................37 error message list ..................................................433 error/warning dialog box........................................383 event condition.........................................................41 event detection break...............................................45 event function...........................................................40 event manager .......................................................274 exit debugger dialog box .......................................381 exiting.......................................................................36 explanation of windows ............................................59 expression and operator ........................................428 extended option dialog box .....................................97 extended tektronix hex format .....................130, 134 [f] fail-safe break..........................................................46 file ...................................................................52, 424 font dialog box.......................................................111 forced break ............................................................46 function..................................................................425 [h] host machine ...........................................................19 ibm pc/at or compatibles....................................19 pc-9821 series .....................................................19 pc98-nx series ....................................................19 [i] i/o protect area ........................................................37 in-circuit emulator.....................................................19 ie-74000-r ...........................................................19 ie-78001-r-a........................................................19 ie-78k0-ns...........................................................19 ie-78k0-ns-a .......................................................19
appendix e index user?s manual u15185ej1v0um 462 ie-78k0s-ns ........................................................ 19 ie-78k0s-ns-a .................................................... 19 ie-78k4-ns .......................................................... 19 in-circuit emulator optional board ............................. 19 ie-780xxx-ns-em1............................................... 19 ie-780xxx-ns-em4............................................... 19 ie-780xxx-ns-emx ............................................... 19 ie-780xxx-r-em ................................................... 19 ie-784000-r-em................................................... 19 ie-784xxx-ns-em1............................................... 19 ie-784xxx-r-em1 ................................................. 19 ie-789xxx-ns-em1............................................... 19 ie-78k0-ns-p0x ................................................... 19 ie-78k0-ns-pa .................................................... 19 ie-78k0-r-exx ..................................................... 19 ie-78k4-r-exx ..................................................... 19 information file.......................................................... 52 initializing emulation cpu ........................................ 39 instruction mode............................................... 60, 424 intel hex format............................................. 130, 134 interface board ......................................................... 19 ie-70000-98-if-c.................................................. 19 ie-70000-cd-if-a................................................. 19 ie-70000-pc-if-c................................................. 19 ie-70000-pci-if-a................................................ 19 internal ram ............................................................ 37 internal rom............................................................ 37 [j] jump function................. 160, 174, 184, 233, 243, 261 [l] line ........................................................................ 425 list display mode ................................................... 275 load/save function ................................................... 51 local variable window ........................................... 228 [m] main window ............................................................ 60 mapping function...................................................... 37 mask option dialog box........................................... 95 measuring execution time ...................................... 354 memory compare dialog box ................................. 193 memory compare result dialog box ...................... 195 memory copy dialog box ....................................... 191 memory fill dialog box ........................................... 189 memory manipulation............................................... 53 memory search dialog box .................................... 186 memory window..................................................... 181 mixed display mode ................................152, 157, 243 motorola hex format ......................................130, 134 ms-dos .................................................................. 54 [n] nec load module format ....................................... 130 next step execution ........................................... 39, 62 non real-time execution function ............................. 39 non-map break........................................................ 46 normal display mode ......................151, 157, 243, 304 numeric value........................................................ 426 [o] operating environment ............................................ 19 operation of trace .................................................... 47 operator ................................................................ 428 os ........................................................................... 20 windows 95, 98, me, nt4.0................................. 20 [p] pass count dialog box........................................... 374 performance board .................................................. 19 point mark area ......................................153, 168, 237 program................................................................. 424 program counter setting function....................160, 174 project file...........................................52, 86, 115, 118 project file load dialog box .................................. 114 project file save dialog box .................................. 117 project manager ...................................................... 54 pseudo dmm dialog box........................................ 197 [q] quick watch dialog box ......................................... 204 quick watch function.......................................161, 175 [r] real-time execution function ................................... 38 real-time ram sampling function ........................... 53 register manipulation .............................................. 53 register name ....................................................... 425 register window .................................................... 214 reset debugger dialog box ................................... 378 [s] select mode........................................................... 305 setting operating environment................................. 86 sfr illegal access break ......................................... 46 sfr select dialog box ........................................... 222
appendix e index user?s manual u15185ej1v0um 463 sfr window........................................................... 218 snap shot dialog box............................................. 331 snapshot function .................................................... 50 software break......................................................... 45 software break manager ....................................... 284 source mode ................................................... 60, 424 source move dialog box ........................................ 139 source search dialog box...................................... 164 source window ...................................................... 151 specifying address ................................................ 144 stack frame number....................................... 232, 425 stack window......................................................... 231 start function.................................................. 159, 173 starting .................................................................... 34 status display area .................................................. 64 step execution ................................................... 39, 62 structure ................................................................ 425 stub dialog box ...................................................... 346 symbol................................................................... 427 symbol to address dialog box .............................. 148 system register........................................................ 53 [t] term ...................................................................... 430 time measurement function .................................... 53 time tag display..................................................... 239 timer dialog box .................................................... 354 timer result dialog box ......................................... 365 toolbar .....................................................................61 trace condition setting function................................48 trace data select dialog box .................................254 trace function...........................................................47 trace mode ..............................................................47 trace move dialog box ...........................................145 trace result display function.....................................49 trace search dialog box.........................................246 trace view window ................................................236 [u] upload dialog box...................................................134 user area mapping...................................................37 [v] view file load dialog box.......................................121 view file save dialog box ......................................124 [w] watch function................................................161, 175 watch window ........................................................199 window link function.......................157, 171, 244, 261 window list ...............................................................57 window type and configuration ..............................432 windows.............................................................17, 20 write protect break .............................................37, 46
user?s manual u15185ej1v0um 464 [memo]
although nec has taken all possible steps to ensure that the documentation supplied to our customers is complete, bug free and up-to-date, we readily accept that errors may occur. despite all the care and precautions we've taken, you may encounter problems in the documentation. please complete this form whenever you'd like to report errors or suggest improvements to us. hong kong, philippines, oceania nec electronics hong kong ltd. fax: +852-2886-9022/9044 korea nec electronics hong kong ltd. seoul branch fax: +82-2-528-4411 taiwan nec electronics taiwan ltd. fax: +886-2-2719-5951 address north america nec electronics inc. corporate communications dept. fax: +1-800-729-9288 +1-408-588-6130 europe nec electronics (europe) gmbh technical documentation dept. fax: +49-211-6503-274 south america nec do brasil s.a. fax: +55-11-6462-6829 asian nations except philippines nec electronics singapore pte. ltd. fax: +65-250-3583 japan nec semiconductor technical hotline fax: +81- 44-435-9608 i would like to report the following error/make the following suggestion: document title: document number: page number: thank you for your kind support. if possible, please fax the referenced page or drawing. excellent good acceptable poor document rating clarity technical accuracy organization cs 01.2 name company from: tel. fax facsimile message


▲Up To Search▲   

 
Price & Availability of ID78K0-NS

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X